Update arch exception catching for py3
This commit is contained in:
@@ -294,7 +294,7 @@ class ChunkBase(object):
|
||||
else:
|
||||
ch = UnknownChunk(tag)
|
||||
ch.read(fbuf.read_fbuf(length-6),flags)
|
||||
except (File3dsFormatError, FBufError), fe:
|
||||
except (File3dsFormatError, FBufError) as fe:
|
||||
if flags['recover']:
|
||||
if cls is not None:
|
||||
label = cls.label
|
||||
|
||||
Reference in New Issue
Block a user