aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-06-17 13:07:38 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-06-17 13:07:38 +0200
commitbc115339f21a51f09c479623334f649571e52817 (patch)
tree78d601c70007cd614314179f8e9f76ab01e83c58 /src
parentf4e6959e6f26688b0adc362ab59bbda1bace3fbc (diff)
download0tdns-bc115339f21a51f09c479623334f649571e52817.tar.gz
0tdns-bc115339f21a51f09c479623334f649571e52817.zip
don't close connection and cursor second time
Diffstat (limited to 'src')
-rwxr-xr-xsrc/perform_queries.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/perform_queries.py b/src/perform_queries.py
index 1a1d73f..c11ff1a 100755
--- a/src/perform_queries.py
+++ b/src/perform_queries.py
@@ -166,8 +166,5 @@ for dns_queries in planned_queries:
for thread in threads:
thread.join()
-cursor.close()
-connection.close()
-
if dups:
log('results already exist for vpn {}'.format(vpn_id))