0

Catch proper exception in chunk.py

Also removed unnecessary check in world.py
This commit is contained in:
Andrew Chin
2011-02-28 18:56:22 -05:00
parent 1f8fb017a3
commit caa1ef1f45
2 changed files with 3 additions and 4 deletions

View File

@@ -379,8 +379,7 @@ class WorldRenderer(object):
result = pool.apply_async(chunk.render_and_save,
args=(chunkXY,self.cachedir,self, oldimg),
kwds=dict(cave=self.caves, queue=q))
if result:
asyncresults.append((col, row, result))
asyncresults.append((col, row, result))
pool.close()