summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/pixelated_mail.py
diff options
context:
space:
mode:
authorBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-09-26 14:45:30 -0300
committerBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-09-26 14:45:30 -0300
commit2ecb96524c6b350c8f8287e8302d886c939d5fae (patch)
tree1fdcdaa9f933511e9249f5610421334f4903d8ad /service/pixelated/adapter/pixelated_mail.py
parent1082f233962953c0927b73e7acac2665d420857b (diff)
All tests passing using soledad
Diffstat (limited to 'service/pixelated/adapter/pixelated_mail.py')
-rw-r--r--service/pixelated/adapter/pixelated_mail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/adapter/pixelated_mail.py b/service/pixelated/adapter/pixelated_mail.py
index b603ba70..ee2666c3 100644
--- a/service/pixelated/adapter/pixelated_mail.py
+++ b/service/pixelated/adapter/pixelated_mail.py
@@ -184,7 +184,7 @@ class PixelatedMail:
@property
def tags(self):
- _tags = self.hdoc.content.get('X-Tags', '[]')
+ _tags = self.hdoc.content['headers'].get('X-Tags', '[]')
return set(_tags) if type(_tags) is list or type(_tags) is set else set(json.loads(_tags))
@property