Edgewall Software

Changes between Version 1 and Version 2 of Ticket #13042, comment 21


Ignore:
Timestamp:
Jul 26, 2018, 1:35:40 PM (6 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13042, comment 21

    v1 v2  
    3131+            if strerror and filename:
    3232+                try:
    33 +                    strerror = to_unicode(strerror, 'mbcs')
    34 +                    filename = to_unicode(filename, 'mbcs')
     33+                    strerror = unicode(strerror, 'mbcs')
     34+                    filename = unicode(filename, 'mbcs')
    3535+                except UnicodeError:
    3636+                    pass