diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-25 13:38:07 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-25 13:38:07 +0100 |
commit | d9856fa55dabe6927922a8cca08d6b1313bdf628 (patch) | |
tree | 66e65425826f9da12b2ef668233b4a4ef685b4ef /src/monitor.py | |
parent | doc output search functions (diff) | |
download | blueshift-d9856fa55dabe6927922a8cca08d6b1313bdf628.tar.gz blueshift-d9856fa55dabe6927922a8cca08d6b1313bdf628.tar.bz2 blueshift-d9856fa55dabe6927922a8cca08d6b1313bdf628.tar.xz |
m bug + add example with output listing
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 f09db6d..f8a699a 100644 --- a/src/monitor.py +++ b/src/monitor.py @@ -374,7 +374,7 @@ class Output: self.name = None self.connected = False self.widthmm = None - self.heigthmm = None + self.heightmm = None self.crtc = None self.screen = None @@ -382,7 +382,7 @@ class Output: ''' Return a string representation of the instance ''' - rc = [self.name, self.connected, self.widthmm, self.heigthmm, self.crtc, self.screen] + rc = [self.name, self.connected, self.widthmm, self.heightmm, self.crtc, self.screen] rc = tuple([self.name] + list(map(lambda x : repr(x), rc[1:]))) rc = '[Name: %s, Connected: %s, Width: %s, Height: %s, CRTC: %s, Screen: %s]' % rc return rc |