From 4e9251ea265a24e749b7756da2585663e8f85232 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 20 Apr 2016 17:14:35 +0200 Subject: * config paths as symlinks to common config --- app/python/rcal/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/python/rcal') diff --git a/app/python/rcal/db.py b/app/python/rcal/db.py index c5b05f6..63561d7 100644 --- a/app/python/rcal/db.py +++ b/app/python/rcal/db.py @@ -13,7 +13,7 @@ class Session(object): def __init__(self): config = json.load( open(path.join(path.dirname( - path.realpath(__file__)), '../../..', 'config', 'db.json'))) + path.realpath(__file__)), '..', 'db.json'))) db_str = url.URL( drivername=config['type'], host=config['host'], -- cgit v1.2.3