mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 14:32:34 +02:00
Flush repository after consume email - close #128
This commit is contained in:
parent
da29259d9f
commit
ce6ce6b5dd
1 changed files with 1 additions and 0 deletions
|
|
@ -28,4 +28,5 @@ class GenericFileMailbox(EmailTransport):
|
|||
continue
|
||||
repository.remove(key)
|
||||
yield message
|
||||
repository.flush()
|
||||
repository.unlock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue