summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/adapter/soledad/soledad_reader_mixin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/adapter/soledad/soledad_reader_mixin.py b/service/pixelated/adapter/soledad/soledad_reader_mixin.py
index 631a8414..58dd9e8e 100644
--- a/service/pixelated/adapter/soledad/soledad_reader_mixin.py
+++ b/service/pixelated/adapter/soledad/soledad_reader_mixin.py
@@ -82,7 +82,7 @@ class SoledadReaderMixin(SoledadDbFacadeMixin, object):
def attachment(self, attachment_ident, encoding):
bdoc = yield self.get_content_by_phash(attachment_ident)
defer.returnValue({'content': self._try_decode(bdoc.content['raw'], encoding),
- 'content-type': bdoc.content['content-type']})
+ 'content-type': bdoc.content['content_type']})
def _try_decode(self, raw, encoding):
encoding = encoding.lower()