Skip to content

Commit

Permalink
Fixed configparser
Browse files Browse the repository at this point in the history
  • Loading branch information
faebser committed Jan 28, 2016
1 parent fd44a64 commit 68e1d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 68e1d10

Please sign in to comment.