ChenyuRabbitLove commited on
Commit
2c82f5e
1 Parent(s): 8fa6437

refactor: change latest data fetch date

Browse files
Files changed (2) hide show
  1. medias/.DS_Store +0 -0
  2. utils/utils.py +1 -1
medias/.DS_Store CHANGED
Binary files a/medias/.DS_Store and b/medias/.DS_Store differ
 
utils/utils.py CHANGED
@@ -179,7 +179,7 @@ def get_date_strs(delta_days=0):
179
 
180
 
181
  def save_latest_player_data():
182
- latest_player_data = load_player_statuses(client, "20231113")
183
  latest_player_data_as_dict = {
184
  key: asdict(value) for key, value in latest_player_data.items()
185
  }
 
179
 
180
 
181
  def save_latest_player_data():
182
+ latest_player_data = load_player_statuses(client, get_date_strs())
183
  latest_player_data_as_dict = {
184
  key: asdict(value) for key, value in latest_player_data.items()
185
  }