From c530629d0de688e2701f33c86fdf614e53233469 Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Fri, 14 Apr 2023 11:55:55 +0200 Subject: [PATCH] - --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index 784127b..8fd2b08 100644 --- a/db.py +++ b/db.py @@ -266,7 +266,7 @@ def update_image_allocation_time(id): connect() with get_cur() as cur: 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,)) try: conn.commit()