File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,23 +61,23 @@ def generate_filepaths(self):
6161 output_filepath = os .path .join (self .output_dir , self .output_filenames [output_format ])
6262 if not os .path .exists (output_filepath ) or self .redownload :
6363 yield input_filepath , output_filepath
64-
64+
6565 if self .staging_paths :
6666 staging_dir = os .path .dirname (next (iter (self .staging_paths .values ())))
6767 if os .path .exists (staging_dir ):
6868 explicit_files = set ()
6969 for output_format in output_formats :
7070 if output_format in self .staging_paths :
7171 explicit_files .add (os .path .basename (self .staging_paths [output_format ]))
72-
72+
7373 for file_name in os .listdir (staging_dir ):
7474 file_path = os .path .join (staging_dir , file_name )
7575 if os .path .isfile (file_path ) and file_name not in explicit_files :
7676 input_filepath = file_path
7777 output_filepath = os .path .join (self .output_dir , file_name )
7878 if not os .path .exists (output_filepath ) or self .redownload :
7979 yield input_filepath , output_filepath
80-
80+
8181 if self .include_staging_files :
8282 staging_dir = os .path .dirname (self .staging_paths ["input" ])
8383 for file_relative_path in self .output_filenames ["files" ]:
You can’t perform that action at this time.
0 commit comments