mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-06 07:27:28 +08:00
Update to v2.3
This commit is contained in:
@@ -49,6 +49,10 @@ def get_user(c, user_id):
|
||||
if x[20]:
|
||||
time_played = time.strftime('%Y-%m-%d %H:%M:%S',
|
||||
time.localtime(int(x[20])//1000))
|
||||
if x[2] == '':
|
||||
ban_flag = True
|
||||
else:
|
||||
ban_flag = False
|
||||
|
||||
r = {'name': x[1],
|
||||
'user_id': user_id,
|
||||
@@ -65,7 +69,8 @@ def get_user(c, user_id):
|
||||
'time_played': time_played,
|
||||
'clear_type': x[21],
|
||||
'rating': x[22],
|
||||
'ticket': x[26]
|
||||
'ticket': x[26],
|
||||
'ban_flag': ban_flag
|
||||
}
|
||||
|
||||
return r
|
||||
|
||||
Reference in New Issue
Block a user