aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/hourly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hourly.py b/src/hourly.py
index 26454ae..ca9fc2f 100755
--- a/src/hourly.py
+++ b/src/hourly.py
@@ -139,7 +139,7 @@ def get_available_subnetworks(count, address_ranges):
def do_hourly_work(hour):
ztdns_config = get_ztdns_config()
- if ztdns_config['enabled'] != 'yes':
+ if ztdns_config['enabled'] not in ['yes', True]:
log('0tdns not enabled in the config - exiting')
return