From c1aa52e6288cbdc4dff9a566de848ecbdde34d2a Mon Sep 17 00:00:00 2001 From: "Glauche, Daniel" Date: Wed, 9 Aug 2023 23:15:19 +0200 Subject: [PATCH] adding back sys --- bin/notableeditor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/notableeditor.py b/bin/notableeditor.py index fedb4ef..e3777b1 100755 --- a/bin/notableeditor.py +++ b/bin/notableeditor.py @@ -1,7 +1,7 @@ import concurrent.futures import re import json -import os +import os, sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib")) from splunklib.searchcommands import dispatch, ReportingCommand, Configuration, Option @@ -253,4 +253,4 @@ def reduce(self, records): raise Exception('One of your events has a notable_edit_.* field which is not allowed in batch mode') -dispatch(EditNotablesCommand, sys.argv, sys.stdin, sys.stdout, __name__) \ No newline at end of file +dispatch(EditNotablesCommand, sys.argv, sys.stdin, sys.stdout, __name__)