From d7726f624d5d27f0b74f010eab43166debd3ace7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 25 Feb 2014 14:33:38 +0100 Subject: buf cause by typo + add example: crtc-searching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/monitor.py b/src/monitor.py index f8a699a..70a86e6 100644 --- a/src/monitor.py +++ b/src/monitor.py @@ -322,7 +322,7 @@ class Screen: rc.append(self.outputs[i]) return rc - def find_by_size(self, widthmm, heigthmm): + def find_by_size(self, widthmm, heightmm): ''' Find output by physical size @@ -333,7 +333,7 @@ class Screen: rc = [] for i in range(len(self.outputs)): if self.outputs[i].widthmm == widthmm: - if self.outputs[i].heigthmm == heigthmm: + if self.outputs[i].heightmm == heightmm: rc.append(self.outputs[i]) return rc -- cgit v1.2.3-70-g09d2