]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - autorandr.py
Fix matching EDIDs with wildcards
[deb_pkgs/autorandr.git] / autorandr.py
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)