0002655: Directories and files with accents characters cause failures in Windows.
svn: r12106
This commit is contained in:
@@ -185,7 +185,7 @@ class PackageWriter:
|
||||
# during the process (i.e. when removing object)
|
||||
for m_id in self.db.get_media_object_handles():
|
||||
mobject = self.db.get_object_from_handle(m_id)
|
||||
filename = str(Utils.media_path_full(self.db, mobject.get_path()))
|
||||
filename = Utils.media_path_full(self.db, mobject.get_path())
|
||||
archname = str(mobject.get_path())
|
||||
if os.path.isfile(filename):
|
||||
archive.add(filename, archname)
|
||||
|
||||
Reference in New Issue
Block a user