mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
json extension not strictly enforced
This commit is contained in:
1 parent
1c510beae7
commit
d3e7cc89f7
1 file changed
+1
-1
@@ -6489,7 +6489,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
ontologyFileType = 'application/rdf+xml'
|
||||
if ontologyStr.startswith('DFC_'):
|
||||
ontologyFilename = baseDir + '/ontology/DFC/' + ontologyStr
|
||||
elif ontologyStr.endswith('.json'):
|
||||
else:
|
||||
ontologyStr = ontologyStr.replace('/data/', '')
|
||||
ontologyFilename = baseDir + '/ontology/' + ontologyStr
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user