more fstring fixes
All checks were successful
Python CI / test (push) Successful in 6m46s

This commit is contained in:
Duncan Tourolle 2025-11-09 00:15:25 +01:00
parent 78745c4e29
commit 8b833eef0b
2 changed files with 2 additions and 4 deletions

View File

@ -59,8 +59,7 @@ def draw_placeholder_content(page: Page):
100),
font=font)
draw.text(
(10, 10), f"Border: {
page.border_size}px", fill=(
(10, 10), f"Border: {page.border_size}px", fill=(
150, 150, 150), font=font)
draw.text(
(content_x + 10,

View File

@ -103,8 +103,7 @@ class RenderableImage(Renderable, Queriable):
self._pil_image = PILImage.open(BytesIO(response.content))
self._abstract_image._loaded_image = self._pil_image
else:
self._error_message = f"Failed to load image: HTTP status {
response.status_code}"
self._error_message = f"Failed to load image: HTTP status {response.status_code}"
except ImportError:
self._error_message = "Requests library not available for URL loading"
else: