Fix two small bugs.

This commit is contained in:
Lost-MSth
2021-01-10 16:29:18 +08:00
parent e0e6128826
commit 98358ad216
2 changed files with 2 additions and 3 deletions

View File

@@ -595,6 +595,7 @@ def arc_all_get(user_id):
installid_data = ''
devicemodelname_data = ''
# story_data = []
createdAt = 0
if x:
scores_data = json.loads(x[1])[""]
@@ -606,8 +607,6 @@ def arc_all_get(user_id):
# story_data = json.loads(x[7])[""]
if x[8]:
createdAt = int(x[8])
else:
createdAt = 0
# c.execute('''select * from best_score where user_id = :a''',
# {'a': user_id})