From 495884738f8121c2ffa4d1ac0c6f6cf014f44073 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Sat, 2 Dec 2017 10:39:35 -0600 Subject: [PATCH] python 3 fix for parsing suricata config output --- suricata/update/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suricata/update/engine.py b/suricata/update/engine.py index bc4ef24..bffe34c 100644 --- a/suricata/update/engine.py +++ b/suricata/update/engine.py @@ -72,7 +72,7 @@ class Configuration: conf = {} for line in configuration_dump.splitlines(): try: - key, val = line.split(" = ") + key, val = line.decode().split(" = ") conf[key] = val except: logger.warning("Failed to parse: %s", line) -- 2.47.3