diff --git a/Mailnag/common/config.py b/Mailnag/common/config.py index f77b195..76be3c3 100644 --- a/Mailnag/common/config.py +++ b/Mailnag/common/config.py @@ -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)