Commit b91c2437 authored by Jerome Touvier's avatar Jerome Touvier
Browse files

fix remove requests field

parent 4fbe1425
Pipeline #61046 passed with stage
in 41 seconds
......@@ -271,7 +271,7 @@ def map_requests(params, data):
for code, requests in data:
country = codes.get(code)
if country:
if country and requests:
for i, name in enumerate(geodata["name"]):
if country.lower() in name:
geodata["requests"][i] += requests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment