Skip to content

Commit a02a085

Browse files
relaxed wildcard check condition
1 parent fc3a570 commit a02a085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/labpdfproc/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def set_input_lists(args):
8686
f"Cannot find {input_name}. Please specify valid input file(s) or directories."
8787
)
8888
else:
89-
if "*" in input_name.split("/")[-1] and input_name.count("*") == 1:
89+
if "*" in input_name:
9090
input_parent_directory = input_path.parents[0]
9191
input_pattern = input_path.relative_to(input_parent_directory)
9292
input_files = Path(input_parent_directory).glob(str(input_pattern))

0 commit comments

Comments
 (0)