fixed python styling issues that made me go bonkers

This commit is contained in:
prodigysml
2022-01-22 20:16:34 +11:00
parent fdc50fda96
commit ae5b19a671
4 changed files with 5 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ def task_queue_generator_func(arguments, output, repeat):
output.terminal(Level.THREAD, task.name(), "Added to Queue") output.terminal(Level.THREAD, task.name(), "Added to Queue")
yield task yield task
def main(): def main():
parser = InputParser() parser = InputParser()
arguments = parser.parse(argv[1:]) arguments = parser.parse(argv[1:])

View File

@@ -42,7 +42,7 @@ class OutputHelper(object):
'target': target, 'target': target,
'command': command, 'command': command,
'message': message, 'message': message,
'leader': leader 'leader': leader
} }
if not self.silent: if not self.silent:

View File

@@ -11,6 +11,7 @@ if platform.system().lower() == 'linux':
else: else:
shell = None shell = None
class Task(object): class Task(object):
def __init__(self, command, silent=False): def __init__(self, command, silent=False):
self.task = command self.task = command