-
This commit is contained in:
parent
6fe743c281
commit
d6ed214d99
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user