]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Python version: Fix detection of already loaded old setups with md5sum'ed EDID
authorPhillip Berndt <phillip.berndt@googlemail.com>
Mon, 26 Jan 2015 06:45:48 +0000 (07:45 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Mon, 26 Jan 2015 06:45:48 +0000 (07:45 +0100)
autorandr.py

index f517655661512bdbd1e8e9613d9c0b6d708878ec..8fc597da6cb8b95a97675efa86049b45aa34ace6 100755 (executable)
@@ -284,7 +284,7 @@ class XrandrOutput(object):
         return self.edid == other.edid
 
     def __eq__(self, other):
-        return self.edid == other.edid and self.output == other.output and self.options == other.options
+        return self.edid_equals(other) and self.output == other.output and self.options == other.options
 
 def xrandr_version():
     "Return the version of XRandR that this system uses"