Skip to content

Commit 3b96500

Browse files
committed
fix cleanup()
1 parent a3d6e42 commit 3b96500

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

www/transwarp/db.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def init(self):
122122

123123
def cleanup(self):
124124
self.connection.cleanup()
125+
self.connection = None
125126

126127
def cursor(self):
127128
'''

0 commit comments

Comments
 (0)