Add country to detect location info ()

This commit is contained in:
Bram Kragten 2022-11-29 19:52:49 +01:00 committed by GitHub
parent 1c0f9cf941
commit 573320a0b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,4 +110,7 @@ async def websocket_detect_config(
if location_info.currency:
info["currency"] = location_info.currency
if location_info.country_code:
info["country"] = location_info.country_code
connection.send_result(msg["id"], info)