From 7ebc0065167189186ddf53e81a47dab887c87a72 Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Mon, 24 May 2010 19:33:24 -0700 Subject: updated README, index fix for component --- sleekxmpp/plugins/stanza_pubsub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/plugins/stanza_pubsub.py') diff --git a/sleekxmpp/plugins/stanza_pubsub.py b/sleekxmpp/plugins/stanza_pubsub.py index 4187d49c..1dd73d99 100644 --- a/sleekxmpp/plugins/stanza_pubsub.py +++ b/sleekxmpp/plugins/stanza_pubsub.py @@ -281,7 +281,7 @@ class DefaultConfig(ElementBase): def getType(self): t = self._getAttr('type') - if not t: t == 'leaf' + if not t: t = 'leaf' return t stanzaPlugin(PubsubOwner, DefaultConfig) -- cgit v1.2.3