summaryrefslogtreecommitdiff
path: root/app/python/rcal
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-20 17:14:35 +0200
committeremkael <emkael@tlen.pl>2016-04-20 17:14:35 +0200
commit4e9251ea265a24e749b7756da2585663e8f85232 (patch)
tree7b35a33765109a98cceeb8f188be486807773767 /app/python/rcal
parent07dc0f74569f5ad990f34c01944fe5a93181a26d (diff)
* config paths as symlinks to common config
Diffstat (limited to 'app/python/rcal')
-rw-r--r--app/python/rcal/db.py2
1 files changed, 1 insertions, 1 deletions
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'],