unknown_command: fix WA parsing

Apparently the wrapper now uses Python bools instead of JS bools as
strings?
This commit is contained in:
dece 2021-12-02 11:57:06 +01:00
parent 222f002b20
commit 73e3dedd43

View file

@ -50,7 +50,7 @@ class UnknownCommandPlugin(Plugin):
self.signal_failure(target) self.signal_failure(target)
return return
if response["@success"] != "true": if not response["@success"]:
self.signal_failure(target) self.signal_failure(target)
return return