From 05b562b800916011701bad5053bec199d2c9e4a3 Mon Sep 17 00:00:00 2001 From: Elad Alfassa Date: Sun, 7 Sep 2014 19:50:56 +0300 Subject: [PATCH] [safety] Properly add the section in configure() --- safety.py | 1 + 1 file changed, 1 insertion(+) diff --git a/safety.py b/safety.py index 64522eadc0..d7b006535c 100644 --- a/safety.py +++ b/safety.py @@ -30,6 +30,7 @@ def configure(config): | vt_api_key | ea4ca709a686edfcc96a144c224935776e2ba46b77 | VirusTotal API key | """ if config.option('Configure malicious URL protection'): + config.add_section('safety') config.add_option('safety', 'enabled_by_default', 'Enable malicious URL checking for channels by default?', True) config.interactive_add('safety', 'vt_api_key', 'VirusTotal API Key (not mandatory)', None)