Update arch exception catching for py3
This commit is contained in:
parent
99c99006b8
commit
9d85f3bb66
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user