Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Fallback Option for Location/ReverseLookup #33

Merged
merged 13 commits into from
Mar 6, 2018
Merged

Fallback Option for Location/ReverseLookup #33

merged 13 commits into from
Mar 6, 2018

Conversation

clburlison
Copy link
Owner

Rewrite of #32.

@clburlison
Copy link
Owner Author

The wiki needs to be updated for this FR.

@danner26
Copy link
Contributor

danner26 commented Mar 5, 2018

Yeah this is definitely the better way to go, it looks like it works for me.

If we get to this line 355 we can assume the lookup has failed.
@clburlison clburlison merged commit 036b53d into master Mar 6, 2018
@clburlison clburlison deleted the fr_32 branch March 6, 2018 02:45
clburlison added a commit that referenced this pull request Mar 6, 2018
* Implemented the fallback methods for location

* Implemented reverse lookup fallback option

* Changed the comments to reflect new API

* Updated the readme to reflect the new API

* Fixed settings to pull from the pref file

* refactor: Move google lookup into separate method

* fix: Lint lookup google method

Signed-off-by: Clayton Burlison <git@clburlison.com>

* refactor: Move apple lookup into separate method

* feat: Re-add fallback with logic handling in main

* style: Use new docstring formatting on lookup()

* fix: Correct fallback var for reverse lookup

* fix: Update pre-commit hook

* fix: lookup_apple should not throw exception

If we get to this line 355 we can assume the lookup has failed.

Co-authored-by: Daniel Anner <daniel.anner@danstechsupport.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants