summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.py b/db.py
index 1c76ad2..5ccc336 100644
--- a/db.py
+++ b/db.py
@@ -5,7 +5,7 @@ import settings
engine = create_engine(settings.db_path)
-Base = declarative_base(engine = engine)
+Base = declarative_base(bind = engine)
class Paste(Base):
__tablename__ = 'paste'