summaryrefslogtreecommitdiff
path: root/ausbutler/model.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-01-04 00:45:26 +0100
committeremkael <emkael@tlen.pl>2017-01-04 20:56:23 +0100
commit63ab18bb8903ddd8d88516fda450b815329ab357 (patch)
tree997a152c68106d0dc085517b066bb2c06fed671e /ausbutler/model.py
parentb231002cd6bd5df74867627576a75c510b41e1f1 (diff)
Code reformatting
Diffstat (limited to 'ausbutler/model.py')
-rw-r--r--ausbutler/model.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ausbutler/model.py b/ausbutler/model.py
index cb17ce9..6536b6a 100644
--- a/ausbutler/model.py
+++ b/ausbutler/model.py
@@ -1,12 +1,12 @@
from cached_property import cached_property
-from sqlalchemy import Column, ForeignKey, MetaData, Table, func
+from sqlalchemy import Column, MetaData, Table, func
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.types import Float, Integer
-from .db import Session
+from .db import get_session
Base = declarative_base()
-session = Session()
+session = get_session()
class AusButler(Base):
__tablename__ = 'aus_butler'