From 7f5eea96c4b68dc462743c4358d0d59b43409098 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 12 Sep 2021 17:27:05 +0100 Subject: [PATCH] Fix syntax --- daemon.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/daemon.py b/daemon.py index 2d37a8b13..97346e5de 100644 --- a/daemon.py +++ b/daemon.py @@ -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):