diff --git a/coc/abc.py b/coc/abc.py index fce28c20..54e89683 100644 --- a/coc/abc.py +++ b/coc/abc.py @@ -286,7 +286,7 @@ def _load_json_meta(cls, json_meta: dict, id, name: str, lab_to_townhall): cls._is_home_village = False if json_meta.get("VillageType") else True cls.village = "home" if cls._is_home_village else "builderBase" - cls.training_time = json_meta.get("TrainingTime") + cls.training_time = TimeDelta(seconds=json_meta.get("TrainingTime")) # only heroes cls.ability_time = try_enum(UnitStat, [json_meta.get(level).get("AbilityTime") for level in levels_available])