panda1835 commited on
Commit
f2083e8
1 Parent(s): 4aea53d

Upload utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -0
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):