Private
Public Access
1
0

type correction

This commit is contained in:
Sander Roosendaal
2017-11-10 12:54:29 +01:00
parent 4f34668c27
commit ec4e756e50
2 changed files with 2 additions and 1 deletions

View File

@@ -121,7 +121,7 @@ class Command(BaseCommand):
extension = attachment.document.name[-3:].lower()
try:
message = Message.objects.get(id=attachment.message_id)
if mm.encoded:
if message.encoded:
# if message.text:
body = "\n".join(message.text.splitlines())
else: