diff --git a/frame_forge/__init__.py b/frame_forge/__init__.py index f2f5475..85553ed 100644 --- a/frame_forge/__init__.py +++ b/frame_forge/__init__.py @@ -639,9 +639,13 @@ class GenerateImages: self.source_index_path = source_path_obj.parent / Path( f"{source_path_obj.stem}{indexer_ext}" ) + else: + self.source_index_path = Path(self.source_index_path) if not self.encode_index_path or not Path(self.encode_index_path).exists(): encode_path_obj = Path(self.source_file) self.encode_index_path = encode_path_obj.parent / Path( f"{encode_path_obj.stem}{indexer_ext}" ) + else: + self.encode_index_path = Path(self.encode_index_path)