Formating
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
d379ffe25d
commit
f5e0bc617c
1 changed files with 1 additions and 1 deletions
|
@ -77,8 +77,8 @@ cursor = db.cursor()
|
||||||
|
|
||||||
def get_lock():
|
def get_lock():
|
||||||
ret = 0
|
ret = 0
|
||||||
while ret == 0:
|
|
||||||
sql = "SELECT GET_LOCK('tile-status-lock', 10)"
|
sql = "SELECT GET_LOCK('tile-status-lock', 10)"
|
||||||
|
while ret == 0:
|
||||||
cursor.execute(sql)
|
cursor.execute(sql)
|
||||||
ret = cursor.fetchone()
|
ret = cursor.fetchone()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue