Commit 5eb2f7d5 authored by Vincent Le gallic's avatar Vincent Le gallic

[mail_invalide] Kludge pour gérer les noms avec des accents.

parent 5a5d338f
......@@ -18,6 +18,8 @@ from config import upload
# logging tools
import syslog
def log(x):
if type(x) == unicode:
x = x.encode("utf-8")
syslog.openlog('GENERATE_MAIL_INVALIDE_NOTICE')
syslog.syslog(x)
syslog.closelog()
......
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