This commit is contained in:
Zacharias-Brohn
2026-03-04 22:38:15 +01:00
parent 531dd35f50
commit c87443e72c
+2 -2
View File
@@ -64,8 +64,8 @@ def generate(
WALL_PATH = Path() WALL_PATH = Path()
with WALL_DIR_PATH.open() as f: with WALL_DIR_PATH.open() as f:
line = f.readline() path = json.load(f).currentWallpaperPath
WALL_PATH = line WALL_PATH = path
def generate_thumbnail(image_path, thumbnail_path, size=(128, 128)): def generate_thumbnail(image_path, thumbnail_path, size=(128, 128)):
thumbnail_file = Path(thumbnail_path) thumbnail_file = Path(thumbnail_path)