Commit a642cd6d authored by jocelyn's avatar jocelyn

Fix crash (Unicode error) when maillist sync fails

parent ce5dab77
......@@ -82,7 +82,7 @@ class MaillingList(models.Model):
if p.returncode != 0:
raise SyncCommandError(
"Erreur à l'appel de la commande : \"{}\"".format(
out_stderr.decode('utf-8')))
out_stderr.decode('utf-8')).encode('utf-8'))
def push_new_subscription(sender, instance, created, raw, *args, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment