Omnibus commited on
Commit
5e830d0
1 Parent(s): 79074c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -244,11 +244,14 @@ def get_high_score():
244
  high_score.append
245
  #lod.sort()
246
  for ea in lod:
247
- print (ea)
248
- print (ea['game_name'])
249
- print (ea['score'])
250
- high_score.append(f"{ea['game_name']}\n{ea['score']}")
251
- #high_score.sort()
 
 
 
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: