You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this SO answer, the author explains that the user directory is not always /home/<user>. Also, dir is a built-in function in Python. I would rewrite the code like so:
Hi, thanks for the suggestion. That might be a good candidate for a PR, if you'd like to submit one? Please read our contribution guidelines so that we can get through the process easily and quickly. Thanks!
(Just a minor warning that I think this is the new 3.10 release... but which we aren't "officially" distributing without some extra libcamera updates. Hopefully it will only be a few days at most for this, but just to let you know that things are not quite perfect at the minute.)
Hi,
I think expanding the user this way (line 14) could lead to some bugs:
picamera2/picamera2/__init__.py
Lines 13 to 22 in dd98434
In this SO answer, the author explains that the user directory is not always
/home/<user>
. Also,dir
is a built-in function in Python. I would rewrite the code like so:Regards,
Vincent
The text was updated successfully, but these errors were encountered: