forked from 0ad/0ad
Convert path separator after building the full path.
This was SVN commit r15908.
This commit is contained in:
parent
d06ecc1b89
commit
570b0374f4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user