Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Make it possible to return province vaccine data
Browse files Browse the repository at this point in the history
  • Loading branch information
yano404 committed May 12, 2021
1 parent 4011fc5 commit 94ae267
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lambda_functions/all/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ def proccessVaccinated():
for key in country_array[row['Country_Region']]:
vaccine_data[row['Country_Region']]['All'][key] = country_array[row['Country_Region']][key]

row['Province_State'] = "All"
if row['Province_State'] == '':
row['Province_State'] = "All"

if (row['Province_State'] not in vaccine_data[row['Country_Region']]):
vaccine_data[row['Country_Region']][row['Province_State']] = {}
Expand Down

0 comments on commit 94ae267

Please sign in to comment.