This commit is contained in:
Mateusz779 2023-04-14 11:55:55 +02:00
parent af3a946d20
commit c530629d0d

2
db.py
View File

@ -266,7 +266,7 @@ def update_image_allocation_time(id):
connect() connect()
with get_cur() as cur: with get_cur() as cur:
cur.execute(""" cur.execute("""
UPDATE SET last_access_time = NOW() FROM image_allocation WHERE id = %s UPDATE image_allocation SET last_access_time = NOW() WHERE id = %s
""",(id,)) """,(id,))
try: try:
conn.commit() conn.commit()