From e2f7e20083b1dbbc0bb5079a4514bf6cd39292e2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 4 Aug 2014 14:33:48 +0000 Subject: [PATCH] Use raw configuration parser. Using special python formatting characters like the percent symbol (%) was not possible. --- src/ddns/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ddns/__init__.py b/src/ddns/__init__.py index 6fe3a33..fbebc0e 100644 --- a/src/ddns/__init__.py +++ b/src/ddns/__init__.py @@ -85,7 +85,7 @@ class DDNSCore(object): def load_configuration(self, filename): logger.debug(_("Loading configuration file %s") % filename) - configs = ConfigParser.SafeConfigParser() + configs = ConfigParser.RawConfigParser() configs.read([filename,]) # First apply all global configuration settings. -- 2.39.2