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):
61
61
output_filepath = os .path .join (self .output_dir , self .output_filenames [output_format ])
62
62
if not os .path .exists (output_filepath ) or self .redownload :
63
63
yield input_filepath , output_filepath
64
-
64
+
65
65
if self .staging_paths :
66
66
staging_dir = os .path .dirname (next (iter (self .staging_paths .values ())))
67
67
if os .path .exists (staging_dir ):
68
68
explicit_files = set ()
69
69
for output_format in output_formats :
70
70
if output_format in self .staging_paths :
71
71
explicit_files .add (os .path .basename (self .staging_paths [output_format ]))
72
-
72
+
73
73
for file_name in os .listdir (staging_dir ):
74
74
file_path = os .path .join (staging_dir , file_name )
75
75
if os .path .isfile (file_path ) and file_name not in explicit_files :
76
76
input_filepath = file_path
77
77
output_filepath = os .path .join (self .output_dir , file_name )
78
78
if not os .path .exists (output_filepath ) or self .redownload :
79
79
yield input_filepath , output_filepath
80
-
80
+
81
81
if self .include_staging_files :
82
82
staging_dir = os .path .dirname (self .staging_paths ["input" ])
83
83
for file_relative_path in self .output_filenames ["files" ]:
You can’t perform that action at this time.
0 commit comments