aboutsummaryrefslogtreecommitdiff
path: root/src/conf.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-26 07:47:25 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-09-26 07:47:25 +0200
commitb049532adfda00de1ab56e9a0869bfed050f632c (patch)
tree8f4f143a601ca43fa890d5c8e0a64a5460ed1907 /src/conf.py
parentUpdated about page. (diff)
downloadnewspipe-b049532adfda00de1ab56e9a0869bfed050f632c.tar.gz
newspipe-b049532adfda00de1ab56e9a0869bfed050f632c.tar.bz2
newspipe-b049532adfda00de1ab56e9a0869bfed050f632c.zip
Minor improvements.
Diffstat (limited to 'src/conf.py')
-rw-r--r--src/conf.py5
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"))
bgstack15