mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 18:18:47 +01:00
fied missing parameters with no IGDB roms
This commit is contained in:
@@ -88,6 +88,8 @@ def scan_rom(
|
||||
else:
|
||||
igdbh_rom = igdbh.get_rom(rom_attrs["file_name"], platform.igdb_id)
|
||||
|
||||
rom_attrs.update(igdbh_rom)
|
||||
|
||||
# Return early if not found in IGDB
|
||||
if not igdbh_rom["r_igdb_id"]:
|
||||
log.warning(
|
||||
@@ -98,7 +100,6 @@ def scan_rom(
|
||||
log.info(emoji.emojize(f"\t Identified as {igdbh_rom['r_name']} :alien_monster:"))
|
||||
|
||||
# Update properties from IGDB
|
||||
rom_attrs.update(igdbh_rom)
|
||||
rom_attrs.update(
|
||||
fs.get_cover(
|
||||
overwrite=overwrite,
|
||||
|
||||
Reference in New Issue
Block a user