mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
end me
This commit is contained in:
@@ -394,11 +394,7 @@ def build_launchbox_metadata(
|
||||
local: dict[str, str] | None = None,
|
||||
remote: dict | None = None,
|
||||
images: list[LaunchboxImage],
|
||||
**kwargs: object,
|
||||
) -> LaunchboxMetadata:
|
||||
if local is None and isinstance(kwargs.get("local_entry"), dict):
|
||||
local = kwargs["local_entry"] # type: ignore[assignment]
|
||||
|
||||
local_release_date = local.get("ReleaseDate") if local else None
|
||||
remote_release_date = remote.get("ReleaseDate") if remote else None
|
||||
release_date_raw = coalesce(local_release_date, remote_release_date)
|
||||
|
||||
@@ -345,7 +345,7 @@ class TestLocalSource:
|
||||
"super mario bros..nes": {"Title": "Cached Entry", "DatabaseID": "9999"}
|
||||
}
|
||||
source._cache["nes"] = cached_index
|
||||
source._mtime["nes"] = nes_xml.stat().st_mtime_ns
|
||||
source._mtime["nes"] = nes_xml.stat().st_mtime_ns # trunk-ignore(ruff/ASYNC240)
|
||||
|
||||
with patch(
|
||||
"handler.metadata.launchbox_handler.local_source.LAUNCHBOX_PLATFORMS_DIR",
|
||||
|
||||
Reference in New Issue
Block a user