Skip to content
Snippets Groups Projects
Commit cd9eed62 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

stupid me, calling .keys() on a dict ...

parent e40a3b62
No related branches found
No related tags found
No related merge requests found
......@@ -292,7 +292,7 @@ class Contacts:
def iter_contacts(self, account):
if account in self._contacts:
for jid in self._contacts[account].keys():
for contact in self._contacts[account][jid].keys():
for contact in self._contacts[account][jid]:
yield contact
def get_contact_from_full_jid(self, account, fjid):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment