Fix instances of using undefined variables.
This commit is contained in:
@@ -754,7 +754,7 @@ class xep_0030(base_plugin):
|
||||
"""
|
||||
result = info
|
||||
if isinstance(info, Iq):
|
||||
info = iq['disco_info']
|
||||
info = info['disco_info']
|
||||
if not info['node']:
|
||||
if not info['identities']:
|
||||
if self.xmpp.is_component:
|
||||
|
||||
@@ -11,7 +11,7 @@ import threading
|
||||
|
||||
import sleekxmpp
|
||||
from sleekxmpp import Iq
|
||||
from sleekxmpp.exceptions import XMPPError
|
||||
from sleekxmpp.exceptions import XMPPError, IqError, IqTimeout
|
||||
from sleekxmpp.plugins.base import base_plugin
|
||||
from sleekxmpp.xmlstream.handler import Callback
|
||||
from sleekxmpp.xmlstream.matcher import StanzaPath
|
||||
|
||||
Reference in New Issue
Block a user