Skip to content

Commit a107ed8

Browse files
committed
update
1 parent fc1a6b5 commit a107ed8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

starter/runner.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,12 @@ def run_python(data):
394394
if os.path.isfile(output_file_path):
395395
if os.path.islink(output_file_path):
396396
send_to_scheduler(
397-
False, -1, "Script invalid!", started_at, time.time() - started_at, data
397+
False,
398+
-1,
399+
"Script invalid!",
400+
started_at,
401+
time.time() - started_at,
402+
data,
398403
)
399404
return
400405
with open(output_file_path, "r") as f:
@@ -433,7 +438,9 @@ def run_python(data):
433438
spend_time,
434439
data,
435440
)
436-
send_to_scheduler(return_code == 0, return_code, output, started_at, spend_time, data)
441+
send_to_scheduler(
442+
return_code == 0, return_code, output, started_at, spend_time, data
443+
)
437444

438445

439446
####################

0 commit comments

Comments
 (0)