Skip to content

Commit

Permalink
row contents truth value
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Feb 4, 2025
1 parent e151f76 commit f670180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/process_collated_zips.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def verify_zip_contents(row, keys_series):
dprint('Checking for zipfile contents in all_keys list...')

if row['is_zipfile']:
if row['contents']:
if len(row['contents']) > 0:
if sum(keys_series.isin([row['contents']])) != len(row['contents']):
extract = True
dprint(f'{row["key"]} to be extracted.')
Expand Down

0 comments on commit f670180

Please sign in to comment.