Fix pylint error

This commit is contained in:
Philipp Hörist 2018-10-06 23:06:07 +02:00
parent 9c8a47aa6b
commit 8f89f039d3
1 changed files with 2 additions and 2 deletions

View File

@ -402,8 +402,8 @@ class LegacyContactsAPI:
for jid in self.get_jid_list(account): for jid in self.get_jid_list(account):
if jid == our_jid: if jid == our_jid:
continue continue
if common.app.jid_is_transport(jid) and not \ if (common.app.jid_is_transport(jid) and
_('Transports') in groups: _('Transports') not in groups):
# do not count transports # do not count transports
continue continue
if self.has_brother(account, jid, accounts) and not \ if self.has_brother(account, jid, accounts) and not \