Fix syntax

merge-requests/30/head
Bob Mottram 2021-09-12 17:27:05 +01:00
parent d3e7cc89f7
commit 7f5eea96c4
1 changed files with 0 additions and 3 deletions

View File

@ -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):