|
|
@@ -557,4 +557,4 @@ def _get_file_name_base_on_postfix(dir_path, postfix): |
|
|
|
raise FileNotFoundError(f"There is no file endswith {postfix} file in {dir_path}") |
|
|
|
elif len(files) > 1: |
|
|
|
raise FileExistsError(f"There are multiple *{postfix} files in {dir_path}") |
|
|
|
return os.path.join(dir_path, files[0]) |
|
|
|
return os.path.join(dir_path, files[0]) |