summaryrefslogtreecommitdiffstats
path: root/src/monitor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor.py')
-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