From 2d29fafb1758c2c5026f9d5f0e34901a151a645e Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 24 Feb 2016 00:03:08 +0000 Subject: [PATCH] Fixed python test plugin --- tests/python-test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/python-test.py b/tests/python-test.py index 65496f5..d8f0071 100644 --- a/tests/python-test.py +++ b/tests/python-test.py @@ -53,10 +53,10 @@ def cmd_pythontest(arg1=None, arg2=None, arg3=None): prof.win_show(plugin_win, "called -> prof_get_current_recipient: ") elif arg2 == "room": create_win() - room = prof.get_current_muc(); + room = prof.get_current_muc() if room != None: prof.win_focus(plugin_win) - prof_win_show(plugin_win, "called -> prof_get_current_muc: " + room) + prof.win_show(plugin_win, "called -> prof_get_current_muc: " + room) else: prof.win_focus(plugin_win) prof.win_show(plugin_win, "called -> prof_get_current_muc: ") @@ -174,7 +174,7 @@ def prof_post_chat_message_send(jid, message): def prof_pre_room_message_display(room, nick, message): create_win() - prof.win_show(plugin_win, "fired -> prof_pre_room_message_display: " + room ", " + nick + ", " + message) + prof.win_show(plugin_win, "fired -> prof_pre_room_message_display: " + room + ", " + nick + ", " + message) def prof_post_room_message_display(room, nick, message): create_win() @@ -203,4 +203,4 @@ def prof_pre_priv_message_send(room, nick, message): def prof_post_priv_message_send(room, nick, message): create_win() prof.win_show(plugin_win, "fired -> prof_post_priv_message_send: " + room + ", " + nick + ", " + message) - \ No newline at end of file +