summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-25 14:33:38 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-25 14:33:38 +0100
commitd7726f624d5d27f0b74f010eab43166debd3ace7 (patch)
tree559af4c7ceb2afa07f552d3a217e339ac7c1fc03 /src
parenttypo (diff)
downloadblueshift-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')
-rw-r--r--src/monitor.py4
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