edidconf: Allow 128-byte edids for --import-display-ids

This commit is contained in:
Maxim Devaev
2025-03-12 23:00:33 +02:00
parent 20a7206b0f
commit ba5df47c97
2 changed files with 18 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ def _read_out2_edid() -> (Edid | None):
data = file.read()
if len(data) == 0:
return None
return Edid.from_file(os.path.join(path, "edid"))
return Edid.from_file(os.path.join(path, "edid"), allow_short=True)
def _adopt_out2_ids(dest: Edid) -> None: