ouhenio commited on
Commit
ca0973c
·
verified ·
1 Parent(s): 738289f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ async def update_validation_space_on_answer(response, type, timestamp):
110
  print(f"Ignoring event from non-answering dataset: {dataset_name}")
111
  return # Not an answering space, ignore
112
 
113
- country = " ".join(dataset_name.split("-").split(" ")[1:])
114
  print(f"Processing response for country: {country}")
115
 
116
  iso = countries[country]["iso"]
 
110
  print(f"Ignoring event from non-answering dataset: {dataset_name}")
111
  return # Not an answering space, ignore
112
 
113
+ country = " ".join(dataset_name.split("-")[0].split(" ")[1:])
114
  print(f"Processing response for country: {country}")
115
 
116
  iso = countries[country]["iso"]