diff --git a/vcheck.py b/vcheck.py index 6582681..90398aa 100644 --- a/vcheck.py +++ b/vcheck.py @@ -62,6 +62,7 @@ def check_file(file_path: str, err_msg: str): task_cnt = [] +check_file("vtest.conf", "[ERR] Configure file 'vtest.conf' not found.") vconf = open("vtest.conf", "r") name, sub_tasks = vconf.readline().split() diff --git a/vmake.py b/vmake.py index 6027267..d165b14 100644 --- a/vmake.py +++ b/vmake.py @@ -26,6 +26,7 @@ def check_file(file_path: str, err_msg: str): task_cnt = [] +check_file("vtest.conf", "[ERR] Configure file 'vtest.conf' not found.") vconf = open("vtest.conf", "r") name, sub_tasks = vconf.readline().split()