diff --git a/src/geopy_modules.py b/src/geopy_modules.py index 9a6b0cf..7d6b060 100644 --- a/src/geopy_modules.py +++ b/src/geopy_modules.py @@ -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) diff --git a/src/mpad_config.py b/src/mpad_config.py index 2230a02..aeb0d68 100644 --- a/src/mpad_config.py +++ b/src/mpad_config.py @@ -21,7 +21,7 @@ # # Program version # -mpad_version: str = "0.20" +mpad_version: str = "0.21" # ########################### # Constants, do not change#