From 10baa79ea8e6ed657db53fb329c9280bc1a30d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Tue, 10 Jul 2018 23:15:41 +0300 Subject: [PATCH] Make not founds match founds in the log --- neomi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neomi.py b/neomi.py index 80fa764..29daee0 100644 --- a/neomi.py +++ b/neomi.py @@ -706,7 +706,7 @@ class Serve(threading.Thread): file = get_file(full_path, config = self.config) except FileNotFoundError: - log('%s [%s]: Requested path not found: %s' % (self.address, protocol.name, path_raw)) + log('%s [%s] requested path not found %s' % (self.address, protocol.name, path_raw)) reader = StringReader('%s not found\n\nMake sure you included the item type in the URL\n' % path_raw) send_header(self.sock, protocol, Status.notfound, 'text/plain', config = self.config) if not just_headers: