Commit ebd94ee6 authored by Merret Buurman's avatar Merret Buurman
Browse files

Bugfix: Removed 'hdl:' from handle before requesting REST API.

parent 4a4c5c3e
......@@ -60,6 +60,8 @@ def _get_resolver_url():
return url
def _get_resolve_url_for_handle(handle):
if handle.startswith('hdl:'):
handle = handle.replace('hdl:', '')
url = _get_resolver_url() + '/'+handle
return url
......
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