diff --git a/monkey/infection_monkey/network/firewall.py b/monkey/infection_monkey/network/firewall.py index 5c493b82f..7a9f83827 100644 --- a/monkey/infection_monkey/network/firewall.py +++ b/monkey/infection_monkey/network/firewall.py @@ -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):