From e7376fab5587478c12157b5c2a97f09fa3802642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 6 Apr 2011 17:31:18 +0530 Subject: [PATCH] temporarily disable sqlite connection reuse --- web/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/api.py b/web/api.py index b9bb1f6..2ce1c8f 100644 --- a/web/api.py +++ b/web/api.py @@ -31,7 +31,7 @@ sqlcon = None def get_sqlconn(): global sqlcon - if sqlcon: + if sqlcon and False: return sqlcon config = Config(filename=settings.LIBRARY_WEB_CONFIG_FILE) sqlcon = sqlite.connect(config.symbols_sqlite_filepath, isolation_level=None)