Revert "Inititial commit for release v2.0.0"
This reverts commit 5fa6102c0d
.
This commit is contained in:
@@ -24,6 +24,8 @@ class Layout:
|
||||
if (model != None) and (width == None) and (height == None):
|
||||
display_dimensions = {
|
||||
'9_in_7': (1200, 825),
|
||||
'epd_7_in_5_v3_colour': (880, 528),
|
||||
'epd_7_in_5_v3': (880, 528),
|
||||
'epd_7_in_5_v2_colour': (800, 480),
|
||||
'epd_7_in_5_v2': (800, 480),
|
||||
'epd_7_in_5_colour': (640, 384),
|
||||
@@ -114,14 +116,6 @@ class Layout:
|
||||
size = (self.bottom_section_width, self.bottom_section_height)
|
||||
return size
|
||||
|
||||
## def set_info_section(self, value):
|
||||
## """Should a small info section be showed """
|
||||
## if not isinstance(value, bool):
|
||||
## raise ValueError('value has to bee a boolean: True/False')
|
||||
## self.info_section = value
|
||||
## logger.info(('show info section: {}').format(value))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
print('running {0} in standalone/debug mode'.format(
|
||||
os.path.basename(__file__).split('.py')[0]))
|
||||
|
Reference in New Issue
Block a user