summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/tag_service.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated/adapter/tag_service.py')
-rw-r--r--service/pixelated/adapter/tag_service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/tag_service.py b/service/pixelated/adapter/tag_service.py
index ecc64fad..dc13bc54 100644
--- a/service/pixelated/adapter/tag_service.py
+++ b/service/pixelated/adapter/tag_service.py
@@ -20,11 +20,11 @@ from pixelated.adapter.tag_index import TagIndex
class TagService:
instance = None
- SPECIAL_TAGS = [Tag('inbox', True), Tag('sent', True), Tag('drafts', True), Tag('trash', True)]
+ SPECIAL_TAGS = {Tag('inbox', True), Tag('sent', True), Tag('drafts', True), Tag('trash', True)}
@classmethod
def extract_reserved(cls, tags):
- return set(tag.name for tag in cls.SPECIAL_TAGS if tag.name in tags)
+ return {tag.name for tag in cls.SPECIAL_TAGS if tag.name in tags}
@classmethod
def get_instance(cls):