diff --git a/app/services/location/jhu.py b/app/services/location/jhu.py index 1a11e8ac..acf85fde 100644 --- a/app/services/location/jhu.py +++ b/app/services/location/jhu.py @@ -87,7 +87,7 @@ async def get_category(category): dates = dict(filter(lambda element: date_util.is_date(element[0]), item.items())) # Make location history from dates. - history = {date: int(amount or 0) for date, amount in dates.items()} + history = {date: int(float(amount or 0)) for date, amount in dates.items()} # Country for this location. country = item["Country/Region"]