Skip to content

Commit

Permalink
Fix syntax error in Rimy3D xact workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeto committed Apr 6, 2024
1 parent 453e85d commit 6c2c64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g3blend/io/animation/xact.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def read(self, reader: BinaryReader) -> None:
self.mat_index = reader.read_u16()
try:
self.name = reader.read_entry()
except ValueError | IndexError:
except (ValueError, IndexError):
# Workaround for broken Rimy3D meshes (they don't have a stringtable, but still
# refer to stringtable entries here)
self.name = ""
Expand Down

0 comments on commit 6c2c64e

Please sign in to comment.