summaryrefslogtreecommitdiff
path: root/app/python/rcal/db.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-09 23:41:43 +0200
committeremkael <emkael@tlen.pl>2016-05-09 23:41:43 +0200
commit5ec296d319736fdb42dba9a46baa978ec86c5d75 (patch)
tree987002529991ff0c58e85e4d22b0886bfe3ea123 /app/python/rcal/db.py
parentbc1e5d69f62c4a1d29ae6ac28a1d7dcb4b9f1a87 (diff)
* python config contained within python directory (symlinked)
Diffstat (limited to 'app/python/rcal/db.py')
-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 63561d7..7e892a1 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__)), '..', 'db.json')))
+ path.realpath(__file__)), '..', 'config', 'db.json')))
db_str = url.URL(
drivername=config['type'],
host=config['host'],