Skip to content
Snippets Groups Projects
Commit 12c8e246 authored by trash-guy's avatar trash-guy
Browse files

Error wrapping

parent 12af7bca
No related branches found
No related tags found
No related merge requests found
......@@ -117,8 +117,8 @@ class TrashGuy:
raise IndexError("trashguy index out of range")
return FrameEngine.get_frame(self.slices, self.sprites, i)
else:
raise TypeError(f"trashguy indices must be integers or slices, \
not {type(i)}")
raise TypeError("trashguy indices must be integers or slices, "
f"not {type(i)}")
def __iter__(self):
return self
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment