-
This commit is contained in:
2
db.py
2
db.py
@@ -273,7 +273,7 @@ def update_image_allocation_ip(token, ip):
|
|||||||
connect()
|
connect()
|
||||||
with get_cur() as cur:
|
with get_cur() as cur:
|
||||||
cur.execute("""
|
cur.execute("""
|
||||||
UPDATE image_allocation SET ip = %s WHERE image_id = %s
|
UPDATE image_allocation SET client_ip = %s WHERE image_id = %s
|
||||||
""", (ip, image_id,))
|
""", (ip, image_id,))
|
||||||
try:
|
try:
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|||||||
Reference in New Issue
Block a user