diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.py b/src/config.py index 2ee4abb1..d0320a0a 100644 --- a/src/config.py +++ b/src/config.py @@ -119,6 +119,7 @@ class Config(RawConfigParser): if line.startswith('['): # check the section if we_are_in_the_right_section and not written: result_lines.append('%s= %s' % (option, value)) + written = True if line == '[%s]' % section: we_are_in_the_right_section = True section_found = True |