From 73e3dedd434fc573ea20594c3a3c63a627fdb367 Mon Sep 17 00:00:00 2001 From: dece Date: Thu, 2 Dec 2021 11:57:06 +0100 Subject: [PATCH] unknown_command: fix WA parsing Apparently the wrapper now uses Python bools instead of JS bools as strings? --- edmond/plugins/unknown_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edmond/plugins/unknown_command.py b/edmond/plugins/unknown_command.py index 44bc5b9..5bc3c7d 100644 --- a/edmond/plugins/unknown_command.py +++ b/edmond/plugins/unknown_command.py @@ -50,7 +50,7 @@ class UnknownCommandPlugin(Plugin): self.signal_failure(target) return - if response["@success"] != "true": + if not response["@success"]: self.signal_failure(target) return