Compare commits
4 Commits
cf1ad1d2df
...
b0cf96615f
| Author | SHA1 | Date | |
|---|---|---|---|
| b0cf96615f | |||
| 7b926cd25d | |||
| 626377d406 | |||
| 77882fe74c |
@ -178,8 +178,8 @@ class PublicFunc:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def examine_file(path_str, filename, suffix):
|
def examine_file(path_str, filename, suffix):
|
||||||
temp_path = list(
|
temp_path = [p for p in Path(path_str).glob(f"{filename}*") if p.stem.startswith(filename) and p.suffix == suffix]
|
||||||
Path(path_str).glob(f"{filename}*"))
|
|
||||||
if len(temp_path) == 0:
|
if len(temp_path) == 0:
|
||||||
return Result().failure(
|
return Result().failure(
|
||||||
info=Constants.INPUT_FAILURE + "\n" +
|
info=Constants.INPUT_FAILURE + "\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user