0

Made multiprocessing work on windows \o/

This commit is contained in:
Andrew Chin
2012-02-18 01:19:45 -05:00
parent ff6425d358
commit 2621997ecc
2 changed files with 27 additions and 18 deletions

View File

@@ -112,7 +112,7 @@ class World(object):
# files.
for root, dirs, files in os.walk(self.worlddir):
# any .mcr files in this directory?
mcrs = filter(lambda x: x.endswith(".mcr"), files)
mcrs = [x for x in files if x.endswith(".mcr")]
if mcrs:
# construct a regionset object for this
rset = RegionSet(root)