Private
Public Access
1
0

email processing fix

This commit is contained in:
Sander Roosendaal
2017-10-15 08:43:40 +02:00
parent 41a29335f9
commit 253fd1261d

View File

@@ -139,10 +139,12 @@ class Command(BaseCommand):
except:
pass
try:
a.delete()
except IOError:
pass
# remove attachment
if donotdelete == 0:
a.delete()
#if donotdelete == 0:
if m.attachments.exists()==False:
# no attachments, so can be deleted