0

Failing to delete a corrupt tile should really be an error in the log.

This commit is contained in:
Andrew Brown
2011-11-13 11:36:27 -05:00
parent 0a5c90ba98
commit 142166ef8e

View File

@@ -343,7 +343,7 @@ class QuadtreeGen(object):
try: try:
os.unlink(path[1]) os.unlink(path[1])
except Exception, e: except Exception, e:
logging.warning("I couldn't delete it. You will need to delete it yourself. Error was '%s'", e) logging.error("I couldn't delete it. You will need to delete it yourself. Error was '%s'", e)
# Save it # Save it
if self.imgformat == 'jpg': if self.imgformat == 'jpg':