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

remove redundant logging


Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 9007ffef
...@@ -177,7 +177,7 @@ def _get_access_status(graph, record_id): ...@@ -177,7 +177,7 @@ def _get_access_status(graph, record_id):
else: else:
logging.info(f'Digital object of record {record_id} has access type ' + logging.info(f'Digital object of record {record_id} has access type ' +
f'`{resource["name"]}`. This makes the media resource unavailable.') f'`{resource["name"]}`. This makes the media resource unavailable.')
else: return 'unavailable'
logging.info(f'Digital object of record {record_id} has no related access information!' logging.info(f'Digital object of record {record_id} has no related access information!'
+ ' Media resource is therefore unavailable') + ' Media resource is therefore unavailable')
return 'unavailable' return 'unavailable'
......
Markdown is supported
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