From 073f67ca1bc0c4b6c4c82313dd83ac38217200a0 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Wed, 2 Oct 2024 22:17:15 +0300 Subject: pikvm/pikvm#1410: Fixed EDID file loader --- kvmd/edid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/edid.py') diff --git a/kvmd/edid.py b/kvmd/edid.py index b890a769..bfa62e3c 100644 --- a/kvmd/edid.py +++ b/kvmd/edid.py @@ -93,7 +93,7 @@ class Edid: ]) assert len(data) == 256, f"Invalid EDID length: {len(data)}, should be 256 bytes" assert data[126] == 1, "Zero extensions number" - assert (data[_CEA + 0], [_CEA + 1]) == (0x02, 0x03), "Can't find CEA extension" + assert (data[_CEA + 0], data[_CEA + 1]) == (0x02, 0x03), "Can't find CEA extension" return Edid(data) def write_hex(self, path: str) -> None: -- cgit v1.2.3