diff options
Diffstat (limited to 'src/conf.py')
-rw-r--r-- | src/conf.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/conf.py b/src/conf.py index 8546e3cc..7c573e94 100644 --- a/src/conf.py +++ b/src/conf.py @@ -49,10 +49,7 @@ DEFAULTS = {"platform_url": "https://jarr.herokuapp.com/", } if not ON_HEROKU: - try: - import configparser as confparser - except: - import ConfigParser as confparser + import configparser as confparser # load the configuration config = confparser.SafeConfigParser(defaults=DEFAULTS) config.read(os.path.join(BASE_DIR, "conf/conf.cfg")) |