From da5675dca5dca5b90f2772cb591785a35a4e55ba Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com> Date: Fri, 22 May 2026 21:14:16 -0400 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- backend/handler/scan_handler.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/handler/scan_handler.py b/backend/handler/scan_handler.py index fb6d77ec5..6cd524f17 100644 --- a/backend/handler/scan_handler.py +++ b/backend/handler/scan_handler.py @@ -888,16 +888,16 @@ async def scan_rom( if fields["metadata_field"]: rom_attrs[fields["metadata_field"]] = {} - # Reset artwork fields so stale values are nulled when no source supplies them + # Reset artwork fields so stale values are cleared when no source supplies them rom_attrs.update( { - "url_cover": None, + "url_cover": "", "url_screenshots": [], - "url_manual": None, - "path_cover_s": None, - "path_cover_l": None, + "url_manual": "", + "path_cover_s": "", + "path_cover_l": "", "path_screenshots": [], - "path_manual": None, + "path_manual": "", } )