aboutsummaryrefslogtreecommitdiff
path: root/src/hourly.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/hourly.py')
-rwxr-xr-xsrc/hourly.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hourly.py b/src/hourly.py
index 95680a5..9563f74 100755
--- a/src/hourly.py
+++ b/src/hourly.py
@@ -162,7 +162,9 @@ def do_hourly_work(hour):
if not subnets:
log("couldn't get ANY /30 subnet of private"
" addresses from the 0tdns config file - exiting");
- return # TODO close cursor and connection here
+ cursor.close()
+ connection.close()
+ return
if len(subnets) < parallel_vpns:
log('configuration allows running {0} parallel vpn connections, but'