Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nbxmpp/modules/location.py')
-rw-r--r--nbxmpp/modules/location.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/location.py b/nbxmpp/modules/location.py
index 9720bdc..0416234 100644
--- a/nbxmpp/modules/location.py
+++ b/nbxmpp/modules/location.py
@@ -66,7 +66,7 @@ class Location(BaseModule):
item = Node('geoloc', {'xmlns': Namespace.LOCATION})
if data is not None:
data = data._asdict()
- for tag, value in data:
+ for tag, value in data.items():
if value is not None:
item.addChild(tag, payload=value)