Failing to delete a corrupt tile should really be an error in the log.
This commit is contained in:
@@ -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':
|
||||||
|
|||||||
Reference in New Issue
Block a user