mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
update withsqlite.py
This commit is contained in:
parent
69f3375a4f
commit
9eada7d596
2
vendor/withsqlite/withsqlite.py
vendored
2
vendor/withsqlite/withsqlite.py
vendored
@ -112,7 +112,7 @@ True
|
|||||||
|
|
||||||
def __init__(self, fname, autocommit=False, check_same_thread=False):
|
def __init__(self, fname, autocommit=False, check_same_thread=False):
|
||||||
self.fname = fname + ".sqlite3"
|
self.fname = fname + ".sqlite3"
|
||||||
self.autocomit = autocommit
|
self.autocommit = autocommit
|
||||||
self.check_same_thread = check_same_thread
|
self.check_same_thread = check_same_thread
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
if not os.path.exists(self.fname):
|
if not os.path.exists(self.fname):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user