summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2012-12-18 14:22:43 +0100
committerFlorian Bruhin <git@the-compiler.org>2012-12-18 14:22:43 +0100
commit1fe021a0ac4d8de7134cf2e77423832acf76bb66 (patch)
tree1e510aa95558b73f3e3c173885e61ad3c0e4cd4c
parent5ab07ec45ee089e920ebdedfdcf26e5ed1edf2c7 (diff)
downloadnpc-1fe021a0ac4d8de7134cf2e77423832acf76bb66.tar.gz
npc-1fe021a0ac4d8de7134cf2e77423832acf76bb66.zip
Don't echo mysql stuff anymore
-rwxr-xr-xnpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc.py b/npc.py
index 91274f6..833ccb2 100755
--- a/npc.py
+++ b/npc.py
@@ -61,7 +61,7 @@ HTML_FOOTER="""
Base = sqlalchemy.ext.declarative.declarative_base()
engine = sqlalchemy.create_engine(
'mysql+oursql://npc:rK3fzEuZ9p55X2Tm@localhost/npc',
- echo=True, pool_recycle=3600
+ echo=False, pool_recycle=3600
)
create_session = sessionmaker(bind=engine)