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

local media files have a sftp prefix from now on

parent 2bd05a68
Pipeline #20216 passed with stages
in 2 minutes and 18 seconds
......@@ -162,7 +162,7 @@ def _is_remote_file(msg) -> bool:
Media file is saved on a remote system
"""
return 'locator' in msg and not \
msg['locator'].startswith('https://memobase.ch/')
msg['locator'].startswith('sftp:/')
def _is_directly_fetchable(digital_object_resource) -> bool:
......
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