Make not founds match founds in the log

This commit is contained in:
Juhani Krekelä 2018-07-10 23:15:41 +03:00
parent 7a598ce7ed
commit 10baa79ea8
1 changed files with 1 additions and 1 deletions

View File

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