diff --git a/daemon.py b/daemon.py index 6b7e940b9..3b2bf4812 100644 --- a/daemon.py +++ b/daemon.py @@ -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):