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