mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +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
|
continue
|
||||||
repository.remove(key)
|
repository.remove(key)
|
||||||
yield message
|
yield message
|
||||||
|
repository.flush()
|
||||||
repository.unlock()
|
repository.unlock()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue