diff --git a/dlx_dl/scripts/sync.py b/dlx_dl/scripts/sync.py index 5a4da4c..3cdd70f 100644 --- a/dlx_dl/scripts/sync.py +++ b/dlx_dl/scripts/sync.py @@ -734,7 +734,7 @@ def _get_dl_856(fn): # files that came from whitelisted 856 urls are not currently in the dlx filestore dl_file_count = len(dl_files) - len([x for x in dlx_record.get_fields('856') if urlparse(x.get_value('u')).netloc in export.WHITELIST]) - if 0: #dl_file_count != len(all_dlx_files): + if False: #dl_file_count != len(all_dlx_files): print(f'EXTRA FILES DETECTED - {[x.to_mrk() for x in dl_files]}\n{[f.to_dict() for f in all_dlx_files]}') return export_whole_record(args, dlx_record, export_type='UPDATE')