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():
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue