Merge branch 'hotfix/v4.26'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user