diff options
author | mathieui <mathieui@mathieui.net> | 2014-05-05 23:01:03 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-05-05 23:01:03 +0200 |
commit | c9059b98c7e5012a173bd5422d12e59f50dd7206 (patch) | |
tree | 0c9430dfd4e87d197ec35369ed86f4be7ef6159d | |
parent | c5b85d3b5da57e459d561be7a4e90c11347cc3a3 (diff) | |
download | poezio-c9059b98c7e5012a173bd5422d12e59f50dd7206.tar.gz poezio-c9059b98c7e5012a173bd5422d12e59f50dd7206.tar.bz2 poezio-c9059b98c7e5012a173bd5422d12e59f50dd7206.tar.xz poezio-c9059b98c7e5012a173bd5422d12e59f50dd7206.zip |
Fix a traceback on adhoc error
-rw-r--r-- | src/core/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py index 6d775a78..ce54ccab 100644 --- a/src/core/handlers.py +++ b/src/core/handlers.py @@ -1161,7 +1161,7 @@ def on_next_adhoc_step(self, iq, adhoc_session): self.information("Adhoc command %s: %s" % (status, notes), "Info") def on_adhoc_error(self, iq, adhoc_session): - self.xmpp.plugin['xep_0050'].terminate_command(session) + self.xmpp.plugin['xep_0050'].terminate_command(adhoc_session) error_message = self.get_error_message(iq) self.information("An error occured while executing the command: %s" % (error_message), 'Error') |