From eb9e72fe3e0b125698cf91c3512ec9ecf4646ad8 Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Thu, 19 Aug 2010 19:53:56 -0700 Subject: added some xep-0004 compatibility changes --- sleekxmpp/plugins/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/plugins/jobs.py') diff --git a/sleekxmpp/plugins/jobs.py b/sleekxmpp/plugins/jobs.py index 30a76989..c52e524e 100644 --- a/sleekxmpp/plugins/jobs.py +++ b/sleekxmpp/plugins/jobs.py @@ -40,7 +40,7 @@ class jobs(base.base_plugin): iq['psstate']['payload'] = state result = iq.send() if result is None or type(result) == types.BooleanType or result['type'] != 'result': - logging.error("Unable to change %s:%s to %s" % (node, jobid, state)) + logging.error("Unable to change %s:%s to %s" % (node, jobid, state)) return False return True -- cgit v1.2.3