From c69ccd5538b94669fc4ac1772249db4f4bc00118 Mon Sep 17 00:00:00 2001 From: lostcontrol Date: Wed, 18 Oct 2006 20:10:18 +0000 Subject: [PATCH] - If section does not exist, use default value git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@417 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- client/configreader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/configreader.py b/client/configreader.py index 07eca339..f804b0bb 100644 --- a/client/configreader.py +++ b/client/configreader.py @@ -87,6 +87,7 @@ class ConfigReader(SafeConfigParser): except NoSectionError, e: # No "Definition" section or wrong basedir logSys.error(e) + values[option[1]] = option[2] except NoOptionError: if not option[2] == None: logSys.warn("No '" + option[1] + "' defined in '" + sec + "'")