summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-07-11 17:21:02 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-07-11 17:25:02 +0200
commit4242aee2a4d120988ad2cbe84a5db6ac9d7bc9c6 (patch)
tree598aa87eb64c3e9474d3e1e73176cc3b8d32ab89
parentc5ba3b167fdba2654a7fafb9f90ccf19a54e193c (diff)
Changed keyword argument in call to declarative_base().
-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'