diff options
author | Maxim Devaev <[email protected]> | 2024-10-02 22:17:15 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-10-02 22:17:15 +0300 |
commit | 073f67ca1bc0c4b6c4c82313dd83ac38217200a0 (patch) | |
tree | 5fcfa2e49ebb7ef287713840eb329397716adcdb | |
parent | cb5c1e9e6deff7376f881b244c3aa8f85b5ffbd4 (diff) |
pikvm/pikvm#1410: Fixed EDID file loader
-rw-r--r-- | kvmd/edid.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |