Spaces:
Running
Running
ChenyuRabbitLove
commited on
Commit
•
1638084
1
Parent(s):
eca6f3a
fix: rename loaded player data
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ seafoam = Seafoam()
|
|
17 |
|
18 |
|
19 |
def get_player_info(player_backend_user_id):
|
20 |
-
with open("
|
21 |
player_info = json.load(file)
|
22 |
return player_info[player_backend_user_id]
|
23 |
|
|
|
17 |
|
18 |
|
19 |
def get_player_info(player_backend_user_id):
|
20 |
+
with open("latest_player_data.json", "r", encoding="utf-8") as file:
|
21 |
player_info = json.load(file)
|
22 |
return player_info[player_backend_user_id]
|
23 |
|