Skip to content

Commit

Permalink
fix: test DaData
Browse files Browse the repository at this point in the history
  • Loading branch information
wandeder committed Oct 4, 2023
1 parent 249d100 commit c3900af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spend_bot/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def get_location_reply(location):

if currency.get("data").get("name"):
result["Валюта"] = currency.get("data").get("name")
result["Код валюты"] = currency.get("data").get("code")
result["Код валюты"] = currency.get("data").get("strcode")
result["test"] = dadata.suggest("country", result["Страна"])

return result

0 comments on commit c3900af

Please sign in to comment.