Skip to content

Commit 63804be

Browse files
author
ExpDev07
committed
hotfix
1 parent 116d603 commit 63804be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/services/location/jhu.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def get_locations():
116116
# Get all of the data categories locations.
117117
confirmed = get_category('confirmed')['locations']
118118
deaths = get_category('deaths')['locations']
119-
recovered = get_category('recovered')['locations']
119+
# recovered = get_category('recovered')['locations']
120120

121121
# Final locations to return.
122122
locations = []
@@ -127,7 +127,7 @@ def get_locations():
127127
timelines = {
128128
'confirmed' : confirmed[index]['history'],
129129
'deaths' : deaths[index]['history'],
130-
'recovered' : recovered[index]['history'],
130+
# 'recovered' : recovered[index]['history'],
131131
}
132132

133133
# Grab coordinates.
@@ -151,7 +151,7 @@ def get_locations():
151151
{
152152
'confirmed': Timeline({ datetime.strptime(date, '%m/%d/%y').isoformat() + 'Z': amount for date, amount in timelines['confirmed'].items() }),
153153
'deaths' : Timeline({ datetime.strptime(date, '%m/%d/%y').isoformat() + 'Z': amount for date, amount in timelines['deaths'].items() }),
154-
'recovered': Timeline({ datetime.strptime(date, '%m/%d/%y').isoformat() + 'Z': amount for date, amount in timelines['recovered'].items() })
154+
'recovered': Timeline({})
155155
}
156156
))
157157

0 commit comments

Comments
 (0)