summaryrefslogtreecommitdiff
path: root/examples/echo_component.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echo_component.py')
-rwxr-xr-xexamples/echo_component.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo_component.py b/examples/echo_component.py
index f569e001..d8bcd752 100755
--- a/examples/echo_component.py
+++ b/examples/echo_component.py
@@ -116,7 +116,7 @@ if __name__ == '__main__':
# Connect to the XMPP server and start processing XMPP stanzas.
if xmpp.connect():
- xmpp.process(threaded=False)
+ xmpp.process(block=True)
print("Done")
else:
print("Unable to connect.")