Formating

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2021-03-11 22:08:02 +11:00
parent d379ffe25d
commit f5e0bc617c

View file

@ -77,8 +77,8 @@ cursor = db.cursor()
def get_lock():
ret = 0
sql = "SELECT GET_LOCK('tile-status-lock', 10)"
while ret == 0:
sql = "SELECT GET_LOCK('tile-status-lock', 10)"
cursor.execute(sql)
ret = cursor.fetchone()
return