summaryrefslogtreecommitdiff
path: root/ausbutler/tour_config.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-01-06 00:03:50 +0100
committeremkael <emkael@tlen.pl>2017-01-06 00:03:50 +0100
commitf454689117d3a7f3bacec136e53eff6e81716bf0 (patch)
tree4c21537a44faa30f1e73388dc13c61ae4a22014f /ausbutler/tour_config.py
parentd2ef0b2535e944c65498a85bb1b7c9981c7d0237 (diff)
Merging DB parameters from two tables
Diffstat (limited to 'ausbutler/tour_config.py')
-rw-r--r--ausbutler/tour_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ausbutler/tour_config.py b/ausbutler/tour_config.py
index 43a8dc7..bf6451d 100644
--- a/ausbutler/tour_config.py
+++ b/ausbutler/tour_config.py
@@ -1,6 +1,6 @@
from .config import load_config
from .db import get_session
-from .model import Translation, Admin
+from .model import Translation, Parameters
session = get_session()
@@ -23,4 +23,4 @@ class Translations(object):
def detect_language():
return 'en' if Translations.get_translation('ROUND').lower().strip() == 'round' else 'pl'
-Constants = session.query(Admin).one()
+Constants = session.query(Parameters).one()