Fix bug with safe suffix removal

#34

Replace rstrip() with removesuffix() to safely remove suffix without unintended character stripping.

shtpgshus changed pull request title from Safe suffix removal to Fix bug with safe suffix removal
nguyenbh changed pull request status to merged

Sign up or log in to comment