Don't forget to close the connection

This commit is contained in:
Arne Schlüter 2014-12-08 20:39:53 +01:00
commit 0e095dbb63

View file

@ -82,6 +82,7 @@ for article in articles:
digest
)
c.execute(insert_query, article_tuple)
c.close()
final_time = current_milli_time() - start_time
print('All done in {} ms'.format(final_time))