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
This is because __exit__ calls close() which deletes self.conn.
it seems __enter__ should check that self.conn exists and create it otherwise. I could just go through __init__ once more, but __init__ contains unnecessary actions like CREATE TABLE ...
I can create a patch if this issue is accepted.
The text was updated successfully, but these errors were encountered:
This is because
__exit__
callsclose()
which deletesself.conn
.it seems
__enter__
should check thatself.conn
exists and create it otherwise. I could just go through__init__
once more, but__init__
contains unnecessary actions likeCREATE TABLE ...
I can create a patch if this issue is accepted.
The text was updated successfully, but these errors were encountered: