Skip to content

Commit 348628d

Browse files
BostBostX
andauthored
Co-authored-by: Rostislav Svoboda <[email protected]>
1 parent 69c2d02 commit 348628d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/location/jhu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def get_category(category):
8585
dates = dict(filter(lambda element: date_util.is_date(element[0]), item.items()))
8686

8787
# Make location history from dates.
88-
history = {date: int(amount or 0) for date, amount in dates.items()}
88+
history = {date: int(float(amount or 0)) for date, amount in dates.items()}
8989

9090
# Country for this location.
9191
country = item["Country/Region"]

0 commit comments

Comments
 (0)