aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-06-16 20:45:23 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-06-16 20:45:23 +0200
commit5029d161a6b1243b4c1fe80997e7a218b567bcc1 (patch)
tree15e675a5bdbada4b8dd95dec61ee7722183d4b54
parent3a7bba0a1c7e22d9540379c6d5b738795b6e6cdd (diff)
download0tdns-5029d161a6b1243b4c1fe80997e7a218b567bcc1.tar.gz
0tdns-5029d161a6b1243b4c1fe80997e7a218b567bcc1.zip
fix typo (hadled_vpns -> handled_vpns)
-rwxr-xr-xsrc/hourly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hourly.py b/src/hourly.py
index 209b577..7af7fd9 100755
--- a/src/hourly.py
+++ b/src/hourly.py
@@ -152,7 +152,7 @@ def do_hourly_work(hour, logfile):
vpns = [vpn for vpn in vpns if vpn[0] in handled_vpns]
else:
# if not specfied in the config, all vpns are handled
- hadled_vpns = [vpn[0] for vpn in vpns]
+ handled_vpns = [vpn[0] for vpn in vpns]
parallel_vpns = ztdns_config['parallel_vpns'] # we need this many subnets
subnets = get_available_subnetworks(parallel_vpns,