fix run to consider multi.in

This commit is contained in:
Jakub Pokrywka 2021-11-21 20:22:23 +01:00
parent 8788985377
commit 41e0b1d029

View File

@ -2,7 +2,7 @@ from pathlib import Path
import subprocess import subprocess
def get_tasks_sets(dir): def get_tasks_sets(dir):
return [str(a.name).rstrip('.in') for a in Path(dir).glob('*in')] return [str(a.name).replace('.in','') for a in Path(dir).glob('*in')]
def execute_task(dir): def execute_task(dir):
task_sets = get_tasks_sets(dir) task_sets = get_tasks_sets(dir)