Close connection not cursor
This commit is contained in:
1 parent
d4eca60b1d
commit
1602fe88e6
1 file changed
+1
-1
@@ -181,7 +181,7 @@ class Database(object):
|
||||
migrate_data[ml][p[0]] = [migrate_data[ml][p[0]]]
|
||||
migrate_data[ml][p[0]].append(columns)
|
||||
|
||||
c.close()
|
||||
conn.close()
|
||||
|
||||
log.info('Getting data took %s', time.time() - migrate_start)
|
||||
|
||||
|
||||
Reference in new issue
Block a user