diff options
-rw-r--r-- | service/pixelated/adapter/pixelated_mailbox.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/pixelated/adapter/pixelated_mailbox.py b/service/pixelated/adapter/pixelated_mailbox.py index 739bc215..61fd42dc 100644 --- a/service/pixelated/adapter/pixelated_mailbox.py +++ b/service/pixelated/adapter/pixelated_mailbox.py @@ -29,8 +29,7 @@ class PixelatedMailbox: self.leap_mailbox = leap_mailbox self.tag_index = TagIndex(index_file_path) for tag in self.SPECIAL_TAGS: - if tag not in self.tag_index.values(): - self.tag_index.set(tag) + self.tag_index.add(tag) @property def messages(self): |