diff options
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r-- | service/pixelated/adapter/model/tag.py | 2 | ||||
-rw-r--r-- | service/pixelated/adapter/services/tag_service.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/model/tag.py b/service/pixelated/adapter/model/tag.py index d75022f9..ca62a1fe 100644 --- a/service/pixelated/adapter/model/tag.py +++ b/service/pixelated/adapter/model/tag.py @@ -17,7 +17,7 @@ import json -class Tag: +class Tag(object): @classmethod def from_dict(cls, tag_dict): diff --git a/service/pixelated/adapter/services/tag_service.py b/service/pixelated/adapter/services/tag_service.py index c723b04c..22cfb051 100644 --- a/service/pixelated/adapter/services/tag_service.py +++ b/service/pixelated/adapter/services/tag_service.py @@ -19,7 +19,7 @@ from pixelated.adapter.model.tag import Tag 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), Tag('ALL', True)} @classmethod def extract_reserved(cls, tags): |