0002655: Directories and files with accents characters cause failures in Windows.
svn: r12106
This commit is contained in:
@ -523,8 +523,7 @@ class CheckIntegrity:
|
||||
self.bad_photo.append(ObjectId)
|
||||
|
||||
def fs_ok_clicked(obj):
|
||||
name = unicode(fs_top.get_filename(),
|
||||
sys.getfilesystemencoding())
|
||||
name = Utils.get_unicode_path(fs_top.get_filename())
|
||||
if os.path.isfile(name):
|
||||
obj = self.db.get_object_from_handle(ObjectId)
|
||||
obj.set_path(name)
|
||||
|
Reference in New Issue
Block a user