forked from p15670423/monkey
Agent: Fix a bug with output checking in firewall.py
This commit is contained in:
parent
64f2d598cf
commit
fe0b408c06
|
@ -17,7 +17,7 @@ def _run_netsh_cmd(command, args):
|
|||
),
|
||||
timeout=SHORT_REQUEST_TIMEOUT,
|
||||
)
|
||||
return output.strip().lower().endswith("ok.")
|
||||
return output.strip().lower().endswith(b"ok.")
|
||||
|
||||
|
||||
class FirewallApp(object):
|
||||
|
|
Loading…
Reference in New Issue