mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
Potential fix for https://github.com/rommapp/romm/issues/2891
This commit is contained in:
@@ -1058,7 +1058,9 @@ async def update_rom(
|
||||
safe_int_or_none(data["tgdb_id"]) if "tgdb_id" in data else rom.tgdb_id
|
||||
),
|
||||
"flashpoint_id": (
|
||||
data["flashpoint_id"] if "flashpoint_id" in data else rom.flashpoint_id
|
||||
data["flashpoint_id"] or None
|
||||
if "flashpoint_id" in data
|
||||
else rom.flashpoint_id
|
||||
),
|
||||
"hltb_id": (
|
||||
safe_int_or_none(data["hltb_id"]) if "hltb_id" in data else rom.hltb_id
|
||||
|
||||
Reference in New Issue
Block a user