Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,7 +81,7 @@ country_map = {
|
|
| 81 |
}
|
| 82 |
|
| 83 |
|
| 84 |
-
|
| 85 |
if not country_code:
|
| 86 |
return f"Sorry, I don't have data for {country}."
|
| 87 |
|
|
|
|
| 81 |
}
|
| 82 |
|
| 83 |
|
| 84 |
+
country_code = country_map.get(country)
|
| 85 |
if not country_code:
|
| 86 |
return f"Sorry, I don't have data for {country}."
|
| 87 |
|