mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Incorporating changes from @mancio's fork.
This commit is contained in:
parent
1d14b39889
commit
548cc66c52
1 changed files with 2 additions and 1 deletions
|
|
@ -223,7 +223,8 @@ class Mailbox(models.Model):
|
|||
if part.get('Content-Disposition') is None:
|
||||
continue
|
||||
filename = part.get_filename()
|
||||
# ignore SMIME extension
|
||||
if not filename:
|
||||
continue
|
||||
filename_basename, filename_extension = os.path.splitext(
|
||||
filename
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue