diff --git a/image_filter_nodes.py b/image_filter_nodes.py index 0cbc7d9..36aaa35 100644 --- a/image_filter_nodes.py +++ b/image_filter_nodes.py @@ -34,7 +34,7 @@ class FilterNodeBase: @classmethod def newest_mask_file(cls) -> Path|None: - dr = Path(folder_paths.get_input_directory()) / 'clipspace' + dr = Path(folder_paths.get_input_directory()) masked_files = list(dr.glob("*masked*")) return max([f for f in masked_files], key=lambda item: item.stat().st_birthtime) if masked_files else None