fix(cod_api_tool.py): remove accolade keys from time key replacement
This commit is contained in:
parent
af7bdf009e
commit
4a825eed76
@ -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"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user