diff --git a/gestion/gen_confs/adherents.py b/gestion/gen_confs/adherents.py index ca8b3436..376bfc61 100644 --- a/gestion/gen_confs/adherents.py +++ b/gestion/gen_confs/adherents.py @@ -182,7 +182,7 @@ class home: if os.path.exists(os.path.join(home, ".forward")): write_in_forward = False if write_in_forward: - with open(os.path.join(home + '.forward'), 'w') as forward_file: + with open(os.path.join(home, '.forward'), 'w') as forward_file: forward_file.write(mail_redirect + '\n') os.chown(home + '/.forward', int(uid), gid)