Skip to content

Commit bf3d65a

Browse files
committed
Pleasing mypy
1 parent 74f13fe commit bf3d65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfly/cat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def parse_filepaths_and_pagerange_args(
118118
filename_page_ranges, invalid_filepaths = [], []
119119
for filepath, page_range in parse_filename_page_ranges(fn_pgrgs_l): # type: ignore
120120
if Path(filepath).is_file():
121-
filename_page_ranges.append((filepath, page_range))
121+
filename_page_ranges.append((Path(filepath), page_range))
122122
else:
123123
invalid_filepaths.append(str(filepath))
124124
if invalid_filepaths:

0 commit comments

Comments
 (0)