mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2026-02-27 14:05:29 -05:00
Small edit to return error.
This commit is contained in:
@@ -198,5 +198,5 @@ class TMD:
|
||||
if record < self.num_contents:
|
||||
return self.content_records[record]
|
||||
else:
|
||||
raise IndexError("Invalid content record! TMD lists '" + str(self.num_contents) +
|
||||
raise IndexError("Invalid content record! TMD lists '" + str(self.num_contents - 1) +
|
||||
"' contents but index was '" + str(record) + "'!")
|
||||
|
||||
Reference in New Issue
Block a user