diff --git a/rsi/rsi.py b/rsi/rsi.py index 6764146..6df8941 100644 --- a/rsi/rsi.py +++ b/rsi/rsi.py @@ -128,7 +128,7 @@ def open(cls, path: Union[str, Path]) -> "Rsi": newstate.flags = state["flags"] image = Image.open(path.joinpath( - newstate.full_name + ".png")) # type: Image.Image + newstate.name + ".png")) # type: Image.Image sheetdimensions = image.width // rsi.size[0], image.height // rsi.size[1]