File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -102,10 +102,11 @@ def consolidate(
102
102
103
103
# Pull out the files
104
104
qualified_files = []
105
+ print (f"-- Reviewing { len (item_data ['files' ])} files for { handle } " )
105
106
for p in item_data ["files" ]:
106
107
if handle in p ["name" ].lower ():
107
108
# Check if the file is of a type we want
108
- if p ["format" ] in ["JSON" , "JPEG" , "HTML" ]:
109
+ if p ["format" ]. upper () in ["JSON" , "JPEG" , "HTML" ]:
109
110
qualified_files .append (p )
110
111
elif p ["name" ].lower ().endswith ("ads.txt" ):
111
112
qualified_files .append (p )
@@ -126,7 +127,7 @@ def consolidate(
126
127
)
127
128
file_list .append (file_dict )
128
129
129
- print (f"-- { len (qualified_files )} found" )
130
+ print (f"-- { len (qualified_files )} qualified files found" )
130
131
131
132
# Write out items
132
133
utils .write_csv (item_list , output_path / "items.csv" )
You can’t perform that action at this time.
0 commit comments