From bdfd7de4b687d40db060c7d49bcccb0b46ae0df9 Mon Sep 17 00:00:00 2001 From: jbukhari Date: Mon, 23 Dec 2024 19:35:32 -0500 Subject: [PATCH] fixup --- dlx_dl/scripts/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')