docs(wallpaper_changer): add logging
Wallpaper Changer CI / test-wallpaper-changer (push) Successful in 23s
Wallpaper Changer CI / lint-wallpaper-changer (push) Successful in 10s
Wallpaper Changer CI / build (push) Successful in 48s
Wallpaper Changer CI / install (quiethost) (push) Waiting to run
Wallpaper Changer CI / install (mediahost) (push) Failing after 1s
Wallpaper Changer CI / install (serverhost) (push) Failing after 5s
Wallpaper Changer CI / install (vivohost) (push) Successful in 8s

This commit is contained in:
Lucas Vivo committed 2026-11-25 19:59:31 +01:00
1 parent 1f2ef7ba1a
commit f0fa77e226
1 file changed
+3 -2
@@ -296,7 +296,7 @@ class ImageRepository:
encrypted_table = self.img_folder_path / "naming_table.enc" encrypted_table = self.img_folder_path / "naming_table.enc"
encrypted_table.unlink(missing_ok=True) encrypted_table.unlink(missing_ok=True)
logger.info("Decoded all encrypted images") logger.info("Decoded all encrypted images and removed naming table")
return decoded_paths return decoded_paths
def decode_images( def decode_images(
@@ -361,7 +361,8 @@ class ImageRepository:
encryption_manager.store_naming_table( encryption_manager.store_naming_table(
naming_table, naming_table_path, passphrase_file naming_table, naming_table_path, passphrase_file
) )
logger.info(f"Decoded {len(decoded_paths)} images"
f" and removed {len(sources_to_remove)} encrypted sources" if sources_to_remove else "")
return decoded_paths return decoded_paths
def decode_image( def decode_image(