[SOLVED] Using btree for key-value-database (OSError: 0)
Re: [SOLVED] Using btree for key-value-database (OSError: 0)
I solved this. My code was failing to close the database when I trapped an error and then errored when I tried to open it again.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: [SOLVED] Using btree for key-value-database (OSError: 0)
Python context managers could be your friend here.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.