summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-10-02 22:17:15 +0300
committerMaxim Devaev <[email protected]>2024-10-02 22:17:15 +0300
commit073f67ca1bc0c4b6c4c82313dd83ac38217200a0 (patch)
tree5fcfa2e49ebb7ef287713840eb329397716adcdb /kvmd
parentcb5c1e9e6deff7376f881b244c3aa8f85b5ffbd4 (diff)
pikvm/pikvm#1410: Fixed EDID file loader
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/edid.py2
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: