mirror of
https://github.com/pulb/mailnag.git
synced 2026-05-07 02:25:57 +02:00
Don't write config files in binary mode
This commit is contained in:
@@ -58,4 +58,4 @@ def write_cfg(cfg):
|
||||
if not os.path.exists(cfg_folder):
|
||||
os.makedirs(cfg_folder)
|
||||
|
||||
with open(cfg_file, 'wb') as configfile: cfg.write(configfile)
|
||||
with open(cfg_file, 'w') as configfile: cfg.write(configfile)
|
||||
|
||||
Reference in New Issue
Block a user