Add newline at the end of newly created config file
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 4 Jul 2012 11:58:19 +0000 (13:58 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 4 Jul 2012 11:58:19 +0000 (13:58 +0200)
src/fix_imap_internaldate.py

index 9f85e44..7e97701 100644 (file)
@@ -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):