Fixed add type

This commit is contained in:
2023-02-06 20:30:08 +02:00
parent de4cb4ce3c
commit ab1e9bde9a

View File

@ -318,7 +318,7 @@ class Ziffers(Sequence):
if self.current.item_type == "change":
self.options[self.current.key] = self.current.value
elif self.current.item_type == "add":
self.options[self.current.key] = self.current.value
self.options[self.current.key] += self.current.value
self.current = next(self.it)
except StopIteration: # Start from the beginning