diff options
-rw-r--r-- | sleekxmpp/stanza/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/stanza/presence.py b/sleekxmpp/stanza/presence.py index 1149456f..55f4047f 100644 --- a/sleekxmpp/stanza/presence.py +++ b/sleekxmpp/stanza/presence.py @@ -37,7 +37,7 @@ class Presence(RootStanza): return self def setPriority(self, value): - self._setSubText('priority', str(value)) + self._setSubText('priority', text = str(value)) def getPriority(self): p = self._getSubText('priority') |