Commit 657831fe by benjaoming

IOError, not OSError

parent fabea442
......@@ -71,7 +71,7 @@ class ImageRevision(RevisionPluginRevision):
self.plugin = predecessor.plugin
try:
self.image = predecessor.image
except OSError:
except IOError:
self.image = None
self.width = predecessor.width
self.height = predecessor.height
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment