aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xroka.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roka.py b/roka.py
index 4bb86fb..9ac88d1 100755
--- a/roka.py
+++ b/roka.py
@@ -114,7 +114,7 @@ if __name__ == '__main__':
self.__dict__ = d
config = objectview(json.loads(args.config))
app.config.from_object(config)
- elif os.path.exists(os.path.join(abs_path, 'app.cfg')):
+ else:
app.config.from_pyfile(os.path.join(abs_path, 'app.cfg'))
root_path = os.path.expanduser(app.config['ROOT_PATH'])