Skip to content

Commit

Permalink
Ignore false positive security alert from Bandit
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckBoss committed Jun 9, 2020
1 parent 1579fac commit ecd1418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JJMumbleBot/plugins/core/core_commands/core_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit ecd1418

Please sign in to comment.