Convert path separator after building the full path.

This was SVN commit r15908.
This commit is contained in:
leper 2014-10-27 03:09:36 +00:00
parent d06ecc1b89
commit 570b0374f4

View File

@ -79,7 +79,7 @@ class Extractor(object):
folders.sort()
filenames.sort()
for filename in filenames:
filename = os.path.relpath(os.path.join(root, filename).replace(os.sep, '/'), self.directoryPath)
filename = os.path.relpath(os.path.join(root, filename), self.directoryPath).replace(os.sep, '/')
for filemask in self.excludeMasks:
if pathmatch(filemask, filename):
break