Commit 62dbb37d authored by Remi Oudin's avatar Remi Oudin

Correction d'une petite erreur pour l'affichage des exceptions

parent 63b54e7e
......@@ -186,7 +186,7 @@ def unicode_of_Error(x):
"""Formatte des exceptions"""
def _exc_formatter(element):
if isinstance(element, str):
return element.decode('utf-8')
return element.decode('utf-8', 'ignore')
elif isinstance(element, unicode):
return element
else:
......
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