mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Don't forget to close the connection
This commit is contained in:
parent
36df116ed0
commit
0e095dbb63
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ for article in articles:
|
||||||
digest
|
digest
|
||||||
)
|
)
|
||||||
c.execute(insert_query, article_tuple)
|
c.execute(insert_query, article_tuple)
|
||||||
|
c.close()
|
||||||
|
|
||||||
final_time = current_milli_time() - start_time
|
final_time = current_milli_time() - start_time
|
||||||
print('All done in {} ms'.format(final_time))
|
print('All done in {} ms'.format(final_time))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue