1
This commit is contained in:
parent
1c70125c97
commit
6ed554e74c
@ -62,6 +62,8 @@ def readMysqlData(rushtime):
|
||||
cursor.execute('SELECT accountid, user_name, avatar_url, score FROM user;')
|
||||
for row in cursor:
|
||||
score = row[3]
|
||||
if row[1] == null:
|
||||
return ''
|
||||
array.append((row[0], row[1].decode('utf-8'), row[2], score))
|
||||
|
||||
r = getRedis()
|
||||
|
Loading…
x
Reference in New Issue
Block a user