Commit d146ce9f authored by Link Mauve's avatar Link Mauve

examples: Display only the form, and not the entire stanza.

parent cb59d600
......@@ -68,7 +68,7 @@ class PubsubClient(slixmpp.ClientXMPP):
def get_configure(self):
try:
configuration_form = yield from self['xep_0060'].get_node_config(self.pubsub_server, self.node)
logging.info('Configure form received from node %s: %s', self.node, configuration_form)
logging.info('Configure form received from node %s: %s', self.node, configuration_form['pubsub_owner']['configure']['form'])
except XMPPError as error:
logging.error('Could not retrieve configure form from node %s: %s', self.node, error.format())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment