From 97f6ac648a667ffe2b69d9d910292bb274295c94 Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Sat, 7 Jun 2014 22:33:02 +0800 Subject: [PATCH] fix cleanup() --- www/transwarp/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/www/transwarp/db.py b/www/transwarp/db.py index 6b4f05d..0a8601e 100644 --- a/www/transwarp/db.py +++ b/www/transwarp/db.py @@ -122,6 +122,7 @@ def init(self): def cleanup(self): self.connection.cleanup() + self.connection = None def cursor(self): '''