From 4a825eed76aa63342a3e03da0c9ffedf18e744f2 Mon Sep 17 00:00:00 2001 From: Rim Date: Mon, 10 Mar 2025 09:46:59 -0400 Subject: [PATCH] fix(cod_api_tool.py): remove accolade keys from time key replacement --- cod_api_tool.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cod_api_tool.py b/cod_api_tool.py index 6e52a6b..410bc51 100644 --- a/cod_api_tool.py +++ b/cod_api_tool.py @@ -496,10 +496,8 @@ class CodStatsManager: def _replace_time_and_duration_recursive(self, data, timezone): """Recursively replace epoch times with human-readable formats.""" time_keys = [ - "timePlayedTotal", "timePlayed", "objTime", "time", "timeProne", - "timeSpentAsPassenger", "timeSpentAsDriver", "timeOnPoint", - "timeWatchingKillcams", "timeCrouched", "timesSelectedAsSquadLeader", - "longestTimeSpentOnWeapon", "avgLifeTime", "percentTimeMoving" + "timePlayedTotal", "timePlayed", "objTime", "time", + "avgLifeTime", "percentTimeMoving" ] date_keys = ["date", "updated", "originalDate", "dateAdded"]