From 49c098ef0b4a5f5b589b6ecff1ac0866c40acec3 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 23 Dec 2024 13:15:53 -0800 Subject: [PATCH] Update filemon.py --- modules/filemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filemon.py b/modules/filemon.py index 4bec6fd..1ea8fda 100644 --- a/modules/filemon.py +++ b/modules/filemon.py @@ -72,7 +72,7 @@ def call_external_script(message, script="runShell.sh"): if not os.path.exists(script_path): logger.warning(f"FileMon: Script not found: {script_path}") return "sorry I can't do that" - output = os.popen(f"bash {script_path} {message}").read() + output = os.popen(f"bash {script_path}").read() return output except Exception as e: logger.warning(f"FileMon: Error calling external script: {e}")