Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BostX committed Oct 29, 2020
1 parent 375794e commit 1aa84ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/location/jhu.py
Expand Up @@ -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"]
Expand Down

0 comments on commit 1aa84ee

Please sign in to comment.