summaryrefslogtreecommitdiff
path: root/examples/download_avatars.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/download_avatars.py')
-rwxr-xr-xexamples/download_avatars.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/download_avatars.py b/examples/download_avatars.py
index dc35df80..fc893177 100755
--- a/examples/download_avatars.py
+++ b/examples/download_avatars.py
@@ -33,7 +33,7 @@ class AvatarDownloader(slixmpp.ClientXMPP):
def __init__(self, jid, password):
slixmpp.ClientXMPP.__init__(self, jid, password)
- self.add_event_handler("session_start", self.start, threaded=True)
+ self.add_event_handler("session_start", self.start)
self.add_event_handler("changed_status", self.wait_for_presences)
self.add_event_handler('vcard_avatar_update', self.on_vcard_avatar)