From: Thomas Jarosch Date: Wed, 4 Jul 2012 11:58:19 +0000 (+0200) Subject: Add newline at the end of newly created config file X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=ef29ccfb335d992bdde9ad9e8a62220dca679c5a;p=imap-fix-internaldate Add newline at the end of newly created config file --- diff --git a/src/fix_imap_internaldate.py b/src/fix_imap_internaldate.py index 9f85e44..7e97701 100644 --- a/src/fix_imap_internaldate.py +++ b/src/fix_imap_internaldate.py @@ -91,8 +91,8 @@ def load_configuration(): config.set('basic_settings', 'fallback_to_date_header', False) with open(CONFIG_FILENAME, 'w') as configfile: config.write(configfile) - configfile.write("# 0 NOTSET, 10 DEBUG, 20 INFO, 30 WARNING, 40 ERROR, 50 CRITICAL") - + configfile.write("# 0 NOTSET, 10 DEBUG, 20 INFO, 30 WARNING, 40 ERROR, 50 CRITICAL\n") + return config def prepare_logger(config):