Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

fix offline geolocate #33

Merged
merged 1 commit into from
Apr 22, 2023
Merged

Conversation

emphasize
Copy link
Member

@emphasize emphasize commented Apr 9, 2023

As discussed in chat. (TLDR: Reverse searched location dict is more complete than with name search)

NOTE: the resulting location dict from the reverse search has an address key!

original fix

# if no addresstags are present for the location an empty list is sent instead of a dict
if not details.get("addresstags"):
     details["addresstags"] = dict()

closes #31

@JarbasAl JarbasAl added bug Something isn't working enhancement New feature or request labels Apr 22, 2023
@JarbasAl JarbasAl merged commit 7fa5988 into OpenVoiceOS:dev Apr 22, 2023
@github-actions github-actions bot mentioned this pull request Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'what is the weather in baltimore' returns an error #30
2 participants