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

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bethge <stefan@lanpartei.de>2006-10-10 04:59:31 +0400
committerStefan Bethge <stefan@lanpartei.de>2006-10-10 04:59:31 +0400
commit6ea11dc7ad65db6624efc99bd54e35e33938c913 (patch)
tree8116e9b3a5782b402569dadaa606426b38e25ce9
parentf405de3fc1688d999ecc3f66ce8408e07174e625 (diff)
fix avatars not showing with zeroconf enabled
-rw-r--r--src/common/zeroconf/connection_handlers_zeroconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/zeroconf/connection_handlers_zeroconf.py b/src/common/zeroconf/connection_handlers_zeroconf.py
index e9ba59f18..a698107f6 100644
--- a/src/common/zeroconf/connection_handlers_zeroconf.py
+++ b/src/common/zeroconf/connection_handlers_zeroconf.py
@@ -553,7 +553,7 @@ class ConnectionVcard:
def node_to_dict(self, node):
dict = {}
- '''
+
for info in node.getChildren():
name = info.getName()
if name in ('ADR', 'TEL', 'EMAIL'): # we can have several
@@ -569,7 +569,7 @@ class ConnectionVcard:
dict[name] = {}
for c in info.getChildren():
dict[name][c.getName()] = c.getData()
- '''
+
return dict
def save_vcard_to_hd(self, full_jid, card):