Skip to content

Commit

Permalink
make pb happy
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Oct 4, 2023
1 parent d3dc4aa commit ab2ef77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion LibreNMS/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ def poll_worker(
os.path.dirname(os.path.dirname(os.path.realpath(__file__))),
wrappers[wrapper_type]["executable"],
)
command = "/usr/bin/env php {} {} {}".format(executable, wrappers[wrapper_type]["option"], device_id)
command = "/usr/bin/env php {} {} {}".format(
executable, wrappers[wrapper_type]["option"], device_id
)
if modules is not None and len(str(modules).strip()):
module_str = re.sub("\s", "", str(modules).strip())
command = command + " -m {}".format(module_str)
Expand Down

0 comments on commit ab2ef77

Please sign in to comment.