-
This commit is contained in:
parent
af3a946d20
commit
c530629d0d
2
db.py
2
db.py
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user