Spaces:
Runtime error
Runtime error
Upload utils.py
Browse files
utils.py
CHANGED
@@ -187,6 +187,7 @@ def random_pokemon():
|
|
187 |
def add_new_pokemon(new_pokemon):
|
188 |
metadata = read_metadata()
|
189 |
metadata["pokemon"].update(new_pokemon)
|
|
|
190 |
return metadata
|
191 |
|
192 |
def is_lucky(streak):
|
|
|
187 |
def add_new_pokemon(new_pokemon):
|
188 |
metadata = read_metadata()
|
189 |
metadata["pokemon"].update(new_pokemon)
|
190 |
+
save_metadata(metadata)
|
191 |
return metadata
|
192 |
|
193 |
def is_lucky(streak):
|