From 51e41a31fb79f4f848e29bc73f0bfe55804737e0 Mon Sep 17 00:00:00 2001 From: DGrothe-PhD Date: Sat, 19 Oct 2024 17:47:06 +0200 Subject: [PATCH] fix f-string without variable --- videoText.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videoText.py b/videoText.py index a07095f..7f2d2ec 100644 --- a/videoText.py +++ b/videoText.py @@ -119,7 +119,7 @@ def extractPage(self, page: int, sub=1): addline += " " + linkedPages[-1] self.lines.append(addline) except requests.exceptions.HTTPError as httpErr: - message = f"Die Seite kann nicht angezeigt werden " + \ + message = "Die Seite kann nicht angezeigt werden " + \ f"(Fehler {httpErr.response.status_code})" self.lines.append(message) except requests.exceptions.ConnectionError: