From cbec5380f17d6690e9f68317315a5222d8d41dbc Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 9 Oct 2011 20:37:43 +0200 Subject: [PATCH] fix checking of accused messages --- weboob/backends/aum/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/backends/aum/backend.py b/weboob/backends/aum/backend.py index 5710e090..9c223a98 100644 --- a/weboob/backends/aum/backend.py +++ b/weboob/backends/aum/backend.py @@ -172,7 +172,7 @@ class AuMBackend(BaseBackend, ICapMessages, ICapMessagesPost, ICapDating, ICapCh break if int(mail['id_from']) == self.browser.my_id: - if int(mails['remoteStatus']) == 0: + if int(mails['remoteStatus']) == 0 and msg is None: flags |= Message.IS_NOT_ACCUSED else: flags |= Message.IS_ACCUSED