diff --git a/generate_celebration_image.py b/generate_celebration_image.py
index dee6686ac..f8b6e67c1 100644
--- a/generate_celebration_image.py
+++ b/generate_celebration_image.py
@@ -1,5 +1,5 @@
-import os
import base64
+import os
# --- Configuration ---
WIDTH = 1200 # Image width
@@ -29,7 +29,7 @@ line4 = "github.com/Aider-AI/aider"
# --- Load and Encode Logo ---
logo_data_uri = None
logo_width = 200 # Default width from logo.svg
-logo_height = 60 # Default height from logo.svg
+logo_height = 60 # Default height from logo.svg
try:
if os.path.exists(LOGO_PATH):
with open(LOGO_PATH, "rb") as f:
@@ -60,7 +60,7 @@ line2_y = current_y + FONT_SIZE_LARGE / 2
current_y += FONT_SIZE_LARGE + 15
line3_y = current_y + FONT_SIZE_MEDIUM / 2
current_y += FONT_SIZE_MEDIUM + 60
-line4_y = HEIGHT - FONT_SIZE_SMALL - 30 + FONT_SIZE_SMALL / 2 # Position near bottom
+line4_y = HEIGHT - FONT_SIZE_SMALL - 30 + FONT_SIZE_SMALL / 2 # Position near bottom
# --- Generate SVG Content ---
svg_elements = []
@@ -77,20 +77,24 @@ if logo_data_uri:
# Text Lines
svg_elements.append(
- f'{line1}'
+ f'{line1}'
)
svg_elements.append(
- f'{line2}'
+ f'{line2}'
)
svg_elements.append(
- f'{line3}'
+ f'{line3}'
)
svg_elements.append(
- f'{line4}'
+ f'{line4}'
)
# Combine into final SVG
@@ -130,4 +134,4 @@ except Exception as e:
# --- Define Font Families Used in Text Elements ---
# These need to match the font-family attributes used in the tags
-FONT_FAMILY_MEDIUM = FONT_FAMILY_BOLD # Using Bold for Medium as per original Pillow logic attempt
+FONT_FAMILY_MEDIUM = FONT_FAMILY_BOLD # Using Bold for Medium as per original Pillow logic attempt