diff --git a/modules/cragr/web/browser.py b/modules/cragr/web/browser.py index cd50272640038e4d103d7cf776066e30f5db095b..86bcafbcaf851a422354aefc2c7692d89df32bee 100644 --- a/modules/cragr/web/browser.py +++ b/modules/cragr/web/browser.py @@ -585,8 +585,12 @@ def iter_transfer_recipients(self, account): # couldn't find the account as emitter return + # set of recipient id to not return or already returned + seen = set([account.id]) + for rcpt in self.page.iter_recipients(): - if rcpt.iban or rcpt.id != account.id: + if rcpt.id not in seen: + seen.add(rcpt.id) yield rcpt @need_login