mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c73899a884
commit
da5675dca5
@@ -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": "",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user