Unverified Commit 0820fa20 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix reporting for unenrichable records

Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 6bf86c4f
Pipeline #17934 passed with stages
in 1 minute and 54 seconds
......@@ -281,8 +281,8 @@ class MediametadataToDB:
logging.debug(f'Processing record {record_id}')
access_status = _get_access_status(record, record_id)
if access_status == 'public' or access_status == 'closed':
for record_resource in record:
enrichable = False
for record_resource in record:
if 'type' in record_resource and \
record_resource['type'] == 'digitalObject' and \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment