fix
This commit is contained in:
parent
32d044c721
commit
d8e0791b88
2
db.py
2
db.py
@ -17,7 +17,7 @@ def connect():
|
|||||||
cur = conn.cursor()
|
cur = conn.cursor()
|
||||||
|
|
||||||
with conn.cursor() as cur:
|
with conn.cursor() as cur:
|
||||||
cur.execute("SET TIMEZONE='%s'",(config.timezone,))
|
cur.execute("SET TIMEZONE = %s",(config.timezone,))
|
||||||
conn.commit()
|
conn.commit()
|
||||||
cur.execute("""
|
cur.execute("""
|
||||||
CREATE TABLE IF NOT EXISTS image (
|
CREATE TABLE IF NOT EXISTS image (
|
||||||
|
Loading…
Reference in New Issue
Block a user