From 68e1d10c010a8bafce7dac92e51c5f2d553251cf Mon Sep 17 00:00:00 2001 From: Fabian Frei Date: Fri, 29 Jan 2016 00:44:10 +0100 Subject: [PATCH] Fixed configparser --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 7b4568c..5059252 100644 --- a/config.py +++ b/config.py @@ -205,7 +205,7 @@ def write_to_temp_file(): def write_to_file(fp, general_section, audio_section, servers): - temp_parser = configparser.ConfigParser() + temp_parser = ConfigParser() temp_parser.optionxform = str for prop in general_section.property_tuple: add_value_from_prop(temp_parser, prop, general_section.section_name) @@ -219,7 +219,7 @@ def write_to_file(fp, general_section, audio_section, servers): def init_config(config_file): - parser = configparser.ConfigParser() + parser = ConfigParser() icecast = list() general = None audio = None # renamed to audio instead of input as it would shadow builtin input