Update app.py
Browse files
app.py
CHANGED
|
@@ -244,11 +244,14 @@ def get_high_score():
|
|
| 244 |
high_score.append
|
| 245 |
#lod.sort()
|
| 246 |
for ea in lod:
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
|
|
|
|
|
|
|
|
|
| 252 |
return high_score
|
| 253 |
|
| 254 |
except Exception as e:
|
|
|
|
| 244 |
high_score.append
|
| 245 |
#lod.sort()
|
| 246 |
for ea in lod:
|
| 247 |
+
try:
|
| 248 |
+
print (ea)
|
| 249 |
+
print (ea['game_name'])
|
| 250 |
+
print (ea['score'])
|
| 251 |
+
high_score.append(f"{ea['game_name']}\n{ea['score']}")
|
| 252 |
+
#high_score.sort()
|
| 253 |
+
except Exception:
|
| 254 |
+
pass
|
| 255 |
return high_score
|
| 256 |
|
| 257 |
except Exception as e:
|