mirror of https://gitlab.com/bashrc2/epicyon
Fix syntax
parent
d3e7cc89f7
commit
7f5eea96c4
|
@ -6492,9 +6492,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
else:
|
||||
ontologyStr = ontologyStr.replace('/data/', '')
|
||||
ontologyFilename = baseDir + '/ontology/' + ontologyStr
|
||||
else:
|
||||
self._404()
|
||||
return
|
||||
if ontologyStr.endswith('.json'):
|
||||
ontologyFileType = 'application/ld+json'
|
||||
if os.path.isfile(ontologyFilename):
|
||||
|
|
Loading…
Reference in New Issue