Updated theming

This commit is contained in:
2025-09-06 18:51:10 -04:00
parent dc7b538be6
commit dae849bb90
11 changed files with 704 additions and 111 deletions

View File

@@ -4,7 +4,6 @@ Test script to download images for existing games that don't have local images y
"""
import asyncio
import aiohttp
from pathlib import Path
from sqlalchemy import create_engine, select
from sqlalchemy.orm import Session
@@ -50,7 +49,7 @@ async def test_image_downloads():
# Update database with local path
metadata.cover_image_path = cover_path
else:
print(f" ✗ Failed to download cover")
print(" ✗ Failed to download cover")
# Download screenshot
if metadata.screenshot:
@@ -65,11 +64,11 @@ async def test_image_downloads():
# Update database with local path
metadata.screenshot_path = screenshot_path
else:
print(f" ✗ Failed to download screenshot")
print(" ✗ Failed to download screenshot")
# Commit the updates
session.commit()
print(f"\n✓ Database updated with local image paths")
print("\n✓ Database updated with local image paths")
if __name__ == "__main__":
asyncio.run(test_image_downloads())