Show More
@@ -60,12 +60,12 b' def safe_unicode(e):' | |||
|
60 | 60 | pass |
|
61 | 61 | |
|
62 | 62 | try: |
|
63 |
return |
|
|
63 | return str_to_unicode(str(e)) | |
|
64 | 64 | except UnicodeError: |
|
65 | 65 | pass |
|
66 | 66 | |
|
67 | 67 | try: |
|
68 |
return |
|
|
68 | return str_to_unicode(repr(e)) | |
|
69 | 69 | except UnicodeError: |
|
70 | 70 | pass |
|
71 | 71 |
General Comments 0
You need to be logged in to leave comments.
Login now