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 99c99006b8
commit 9d85f3bb66

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