Update arch exception catching for py3

This commit is contained in:
Kurt Kremitzki
2017-01-29 22:21:48 -06:00
committed by wmayer
parent 9410e751e9
commit e81da82f79

View File

@@ -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