Commit 24a63f87 authored by Celine Mercier's avatar Celine Mercier

URIs: URIs built with autocomplete now work too

parent 478d19ab
......@@ -172,6 +172,13 @@ def open_uri(uri,
cdef dict qualifiers
cdef DMS default_dms
# Reformat URI if it was built with autocomplete
urib = urib.replace(b".obidms", b"")
urib = urib.replace(b".obiview", b"")
urib = urib.replace(b".obicol", b"")
urib = urib.replace(b"/VIEWS", b"")
urib = urib.replace(b"TAXONOMY", b"taxonomy")
config = getConfiguration()
urip = urlparse(urib)
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