diff options
author | Mike Taylor <bear42@gmail.com> | 2015-09-18 15:13:30 -0400 |
---|---|---|
committer | Mike Taylor <bear42@gmail.com> | 2015-09-18 15:13:30 -0400 |
commit | 55114bcffef0d28f1c03c9f879833805d6276756 (patch) | |
tree | 894218b80562032e915851f75f5fc3955f3f5839 /examples | |
parent | 4fa5dedc47e46e68a9071946a3590567500f4db1 (diff) | |
parent | edd9199be83a0d62c5e18f830021bc13c34f2e00 (diff) | |
download | slixmpp-55114bcffef0d28f1c03c9f879833805d6276756.tar.gz slixmpp-55114bcffef0d28f1c03c9f879833805d6276756.tar.bz2 slixmpp-55114bcffef0d28f1c03c9f879833805d6276756.tar.xz slixmpp-55114bcffef0d28f1c03c9f879833805d6276756.zip |
Merge pull request #384 from elya5/patch-1
Fix UnboundlocalError in disco_browser.py example
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/disco_browser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/disco_browser.py b/examples/disco_browser.py index aeb4fb5e..78626e7c 100755 --- a/examples/disco_browser.py +++ b/examples/disco_browser.py @@ -94,7 +94,7 @@ class Disco(sleekxmpp.ClientXMPP): info = self['xep_0030'].get_info(jid=self.target_jid, node=self.target_node, block=True) - elif self.get in self.items_types: + if self.get in self.items_types: # The same applies from above. Listen for the # disco_items event or pass a callback function # if you need to process a non-blocking request. |