We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c2d02 commit 348628dCopy full SHA for 348628d
app/services/location/jhu.py
@@ -85,7 +85,7 @@ async def get_category(category):
85
dates = dict(filter(lambda element: date_util.is_date(element[0]), item.items()))
86
87
# Make location history from dates.
88
- 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()}
89
90
# Country for this location.
91
country = item["Country/Region"]
0 commit comments