Prise en charge de l'attribut mailExterieur comme redirection.
This commit is contained in:
parent
60d7087c60
commit
962d9df0f3
5 changed files with 100 additions and 54 deletions
|
@ -56,7 +56,9 @@ def try_decode(string):
|
|||
avoir en réception.
|
||||
|
||||
"""
|
||||
unicode_str = ""
|
||||
if isinstance(string, unicode):
|
||||
return string
|
||||
|
||||
try:
|
||||
return string.decode("UTF-8")
|
||||
except UnicodeDecodeError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue