Fixing Z-Push sync errors
This commit is contained in:
parent
789b5ce485
commit
5734fcdc1b
|
@ -82,8 +82,8 @@ def is_dcv_address(email):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def open_database(env, with_connection=False):
|
def open_database(env, with_connection=False, db_path="/mail/users.sqlite"):
|
||||||
conn = sqlite3.connect(env["STORAGE_ROOT"] + "/mail/users.sqlite")
|
conn = sqlite3.connect(env["STORAGE_ROOT"] + db_path)
|
||||||
if not with_connection:
|
if not with_connection:
|
||||||
return conn.cursor()
|
return conn.cursor()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue