Skip to content

Commit

Permalink
feat: добавлено название страны 3
Browse files Browse the repository at this point in the history
  • Loading branch information
wandeder committed Oct 4, 2023
1 parent 80b0f51 commit c376161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spend_bot/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_location_reply(location):

)
if country.get("Components")[0].get("kind") == "country":
result["Страна"] = country.get("name")
result["Страна"] = country.get("Components")[0].get("name")

country_code = country.get("country_code")

Expand Down

0 comments on commit c376161

Please sign in to comment.