1
0
Fork 1
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:
Adam Dobrawy 2016-12-26 01:12:14 +01:00
parent da29259d9f
commit ce6ce6b5dd

View file

@ -28,4 +28,5 @@ class GenericFileMailbox(EmailTransport):
continue
repository.remove(key)
yield message
repository.flush()
repository.unlock()