Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -184,8 +184,8 @@ if os.path.exists('game_state.txt'):
|
|
184 |
data = f.readlines()
|
185 |
if len(data) > 0:
|
186 |
last_line = data[-1].strip().split(',')
|
187 |
-
for i in range(len(headers)):
|
188 |
-
game_state[headers[i]] = eval(last_line[i])
|
189 |
else:
|
190 |
game_state = start_game()
|
191 |
|
|
|
184 |
data = f.readlines()
|
185 |
if len(data) > 0:
|
186 |
last_line = data[-1].strip().split(',')
|
187 |
+
# for i in range(len(headers)):
|
188 |
+
# game_state[headers[i]] = eval(last_line[i])
|
189 |
else:
|
190 |
game_state = start_game()
|
191 |
|