Skip to content

Commit

Permalink
Fixed error in US state abbreviation. Bumped up pgm version
Browse files Browse the repository at this point in the history
  • Loading branch information
joergschultzelutter committed Mar 26, 2021
1 parent 90f823c commit c6b30fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/geopy_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def get_reverse_geopy_data(
if "state" in location.raw["address"]:
state = location.raw["address"]["state"]
if (
country == "US" and not disable_state_abbreviation
country_code == "US" and not disable_state_abbreviation
): # State is returned in full; shorten it
try:
x = us.states.lookup(state)
Expand Down
2 changes: 1 addition & 1 deletion src/mpad_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#
# Program version
#
mpad_version: str = "0.20"
mpad_version: str = "0.21"
#
###########################
# Constants, do not change#
Expand Down

0 comments on commit c6b30fc

Please sign in to comment.