Skip to content

Commit

Permalink
Merge 30a28cc into 8e95b96
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcandy committed Apr 20, 2020
2 parents 8e95b96 + 30a28cc commit e5d5721
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elodie/geolocation.py
Expand Up @@ -12,6 +12,7 @@
import urllib.request
import urllib.parse
import urllib.error
from distutils.util import strtobool

from elodie.config import load_config
from elodie import constants
Expand Down Expand Up @@ -135,7 +136,7 @@ def get_prefer_english_names():
if('prefer_english_names' not in config['MapQuest']):
return False

__PREFER_ENGLISH_NAMES__ = bool(config['MapQuest']['prefer_english_names'])
__PREFER_ENGLISH_NAMES__ = bool(strtobool(config['MapQuest']['prefer_english_names']))
return __PREFER_ENGLISH_NAMES__

def place_name(lat, lon):
Expand Down

0 comments on commit e5d5721

Please sign in to comment.