]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Fix matching EDIDs with wildcards
authorPhillip Berndt <phillip.berndt@googlemail.com>
Mon, 23 Jan 2023 10:17:09 +0000 (11:17 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Mon, 23 Jan 2023 10:17:09 +0000 (11:17 +0100)
Fixes #322

README.md
autorandr.py

index 4c47b02a1b3f07821b54bb073f2cd5bc29fdb534..a411bd31b26733b61624b3b855f6d09c98d72241 100644 (file)
--- a/README.md
+++ b/README.md
@@ -257,6 +257,9 @@ options nvidia_drm modeset=1
 
 ## Changelog
 
+**autorandr 1.13.2 (dev)**
+* *2023-01-23* Fix wildcard use in EDIDs (see #322)
+
 **autorandr 1.13.1**
 * *2023-01-16* Fix bug with Version comparison
 
index bc68dfeb354b7c1ed70fdb7c40529eeab1440167..db835fb8311796ca4482cfdf2299767a5dcb58ac 100755 (executable)
@@ -359,6 +359,8 @@ class XrandrOutput(object):
         if self.edid:
             if self.EDID_UNAVAILABLE in self.edid:
                 return
+            if "*" in self.edid:
+                return
             # Thx to pyedid project, the following code was
             # copied (and modified) from pyedid/__init__py:21 [parse_edid()]
             raw = bytes.fromhex(self.edid)