Fix for issue #122
This commit is contained in:
parent
e01728bcd8
commit
03a184775c
@ -37,6 +37,8 @@ class Layout:
|
|||||||
self.display_size = display_dimensions[model]
|
self.display_size = display_dimensions[model]
|
||||||
if 'colour' in model:
|
if 'colour' in model:
|
||||||
self.supports_colour = True
|
self.supports_colour = True
|
||||||
|
else:
|
||||||
|
self.supports_colour = False
|
||||||
|
|
||||||
elif width and height:
|
elif width and height:
|
||||||
self.display_height = width
|
self.display_height = width
|
||||||
|
Loading…
Reference in New Issue
Block a user