Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: c79e3fa2 by Philipp Hörist at 2019-04-22T13:00:45Z Tune: Iterate correctly over dict
Fixes #75
- - - - -
1 changed file:
- nbxmpp/modules/tune.py
Changes:
===================================== nbxmpp/modules/tune.py ===================================== @@ -67,7 +67,7 @@ class Tune: return item
data = data._asdict() - for tag, value in data: + for tag, value in data.items(): if value is not None: item.addChild(tag, payload=value)
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/c79e3fa26fabf42633ce899ae1c...