mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-30 17:43:44 +00:00
Allow json ontologies
This commit is contained in:
1 parent
f62ff5e748
commit
028f4897bb
1 file changed
+1
-1
@@ -6485,7 +6485,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
GETstartTime, GETtimings: {}) -> None:
|
||||
"""Returns an ontology file
|
||||
"""
|
||||
if '.owl' in path or '.rdf' in path:
|
||||
if '.owl' in path or '.rdf' in path or '.json' in path:
|
||||
ontologyStr = path.split('/ontologies/')[1].replace('#', '')
|
||||
ontologyFilename = baseDir + '/ontology/DFC/' + ontologyStr
|
||||
if os.path.isfile(ontologyFilename):
|
||||
|
||||
Reference in new issue
Block a user