From 340bab5b4abb6dc91dc264f32b1ac0fb94b99d79 Mon Sep 17 00:00:00 2001 From: Lucas Cimon <925560+Lucas-C@users.noreply.github.com> Date: Mon, 16 Sep 2024 18:13:14 +0200 Subject: [PATCH] Fixing error message: URI {uri} does not exist --- isso/views/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isso/views/comments.py b/isso/views/comments.py index 9352dd00..43280c72 100644 --- a/isso/views/comments.py +++ b/isso/views/comments.py @@ -350,7 +350,7 @@ def new(self, environ, request, uri): if resp and resp.status == 200: uri, title = parse.thread(resp.read(), id=uri) else: - return NotFound('URI does not exist %s') + return NotFound(f'URI {uri} does not exist') else: title = data['title']