diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-25 14:33:38 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-25 14:33:38 +0100 |
commit | d7726f624d5d27f0b74f010eab43166debd3ace7 (patch) | |
tree | 559af4c7ceb2afa07f552d3a217e339ac7c1fc03 /src/monitor.py | |
parent | typo (diff) | |
download | blueshift-d7726f624d5d27f0b74f010eab43166debd3ace7.tar.gz blueshift-d7726f624d5d27f0b74f010eab43166debd3ace7.tar.bz2 blueshift-d7726f624d5d27f0b74f010eab43166debd3ace7.tar.xz |
buf cause by typo + add example: crtc-searching
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/monitor.py')
-rw-r--r-- | src/monitor.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |