Skip to content

Commit

Permalink
fix f-string without variable
Browse files Browse the repository at this point in the history
  • Loading branch information
DGrothe-PhD committed Oct 19, 2024
1 parent 1959749 commit 51e41a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion videoText.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 51e41a3

Please sign in to comment.