ChenyuRabbitLove commited on
Commit
dd9fc50
1 Parent(s): a5a667b

fix: delete "routine_checker" from rendering player achievements

Browse files
Files changed (1) hide show
  1. utils/utils.py +1 -0
utils/utils.py CHANGED
@@ -98,6 +98,7 @@ def get_player_achievements(player_info: gr.State) -> List[str]:
98
  rewards_status = json.loads(player_info["rewards_status"])
99
  else:
100
  rewards_status = player_info["rewards_status"]
 
101
  return [
102
  (
103
  achivement_name_map[achievement_key],
 
98
  rewards_status = json.loads(player_info["rewards_status"])
99
  else:
100
  rewards_status = player_info["rewards_status"]
101
+ del rewards_status["routine_checker"]
102
  return [
103
  (
104
  achivement_name_map[achievement_key],