From ecd14180a6c3ed1369f929b39c245f93faf5175f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=5B=EC=A0=9C=EC=9D=B4=EC=8A=A8=20=EC=A0=9C?= =?UTF-8?q?=EB=A1=AC=5D?= <20238115+DuckBoss@users.noreply.github.com> Date: Tue, 9 Jun 2020 16:24:23 -0400 Subject: [PATCH] Ignore false positive security alert from Bandit --- JJMumbleBot/plugins/core/core_commands/core_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JJMumbleBot/plugins/core/core_commands/core_commands.py b/JJMumbleBot/plugins/core/core_commands/core_commands.py index 2ce0f21c..ad747e8c 100644 --- a/JJMumbleBot/plugins/core/core_commands/core_commands.py +++ b/JJMumbleBot/plugins/core/core_commands/core_commands.py @@ -88,7 +88,7 @@ def process(self, text): return rutils.exit_bot() log(INFO, "JJ Mumble Bot is being rebooted.", origin=L_STARTUP) - os.execv(sys.executable, ['python3'] + sys.argv) + os.execv(sys.executable, ['python3'] + sys.argv) # nosec elif command == "safereboot": import os @@ -97,7 +97,7 @@ def process(self, text): return rutils.exit_bot() log(INFO, "JJ Mumble Bot is being rebooted in safe mode.", origin=L_STARTUP) - os.execv(sys.executable, ['python3'] + sys.argv + ['-safe']) + os.execv(sys.executable, ['python3'] + sys.argv + ['-safe']) # nosec elif command == "refresh": if not privileges.plugin_privilege_checker(text, command, self.plugin_name):