Spaces:
Running
Running
Update app.py
Browse files
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"]
|