0

added helpful notice about running into corrupted tiles

This commit is contained in:
Andrew Brown
2012-02-25 21:44:21 -05:00
parent 6d19ada4e4
commit c759b20f8e

View File

@@ -777,7 +777,7 @@ class TileSet(object):
img.paste(quad, path[0]) img.paste(quad, path[0])
except Exception, e: except Exception, e:
logging.warning("Couldn't open %s. It may be corrupt. Error was '%s'", path[1], e) logging.warning("Couldn't open %s. It may be corrupt. Error was '%s'", path[1], e)
logging.warning("I'm going to try and delete it. You will need to run the render again") logging.warning("I'm going to try and delete it. You will need to run the render again and with --check-tiles")
try: try:
os.unlink(path[1]) os.unlink(path[1])
except Exception, e: except Exception, e: