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
Since it is perfectly acceptable for open to return 0 ("The return value of open() is a file descriptor, a small, nonnegative integer" 1), self.fd may be set to 0 in the following line:
Since it is perfectly acceptable for
open
to return 0 ("The return value of open() is a file descriptor, a small, nonnegative integer" 1),self.fd
may be set to 0 in the following line:magnitude/pymagnitude/__init__.py
Line 279 in 5f063ec
This is highly possible in non-interactive Docker environment, when there is no stdin open.
Incorrect condition in the following line (which should be written as
self.fd is not None
instead):magnitude/pymagnitude/__init__.py
Line 454 in 5f063ec
causes wiping of the DB via
self._create_empty_db
call.Footnotes
man open ↩
The text was updated successfully, but these errors were encountered: