Skip to content

Commit bb569fa

Browse files
authored
fix str to tuple (librenms#18434)
1 parent b45a789 commit bb569fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LibreNMS/queuemanager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@ def do_dispatch(self):
362362
def do_work(self, run_type, group):
363363
if run_type == "poll":
364364
logger.info("Polling billing")
365-
args = ("-d", "-f") if self.config.debug else ("-f")
365+
args = ("-d", "-f") if self.config.debug else ("-f",)
366366
exit_code, output = LibreNMS.call_script("poll-billing.php", args)
367367
else: # run_type == 'calculate'
368368
logger.info("Calculating billing")
369-
args = ("-d", "-f") if self.config.debug else ("-f")
369+
args = ("-d", "-f") if self.config.debug else ("-f",)
370370
exit_code, output = LibreNMS.call_script("billing-calculate.php", args)
371371

372372
if exit_code != 0:

0 commit comments

Comments
 (0)