diff --git a/src/utils/str_helpers.py b/src/utils/str_helpers.py index 2da51066500d0312485a8e7f66ff9b84e1dcf7c9..caf749203675c99206541c27d21ec0140df649f7 100644 --- a/src/utils/str_helpers.py +++ b/src/utils/str_helpers.py @@ -10,13 +10,13 @@ class Rotor: def __init__(self, original, start): self.original = original self.start = start - self.rotation = original + " " + self.rotation = original @property def next_rotation(self): first = self.rotation[0] self.rotation = self.rotation[1:] + first - return self.rotation[:-1] + return self.rotation def replace_by_index(base, replacement, index):