Update utils.py

This commit is contained in:
Alex Muthmann authored and GitHub committed 2019-10-25 12:25:42 +02:00
1 parent cb6365b9f2
commit c6c2e0e7ce
1 file changed
+3
+3
View File
@@ -85,6 +85,9 @@ def load_config(args):
elif config['ui']['display']['type'] in ('ws_27inch', 'ws27inch', 'waveshare_27inch', 'waveshare27inch'):
config['ui']['display']['type'] = 'waveshare27inch'
elif config['ui']['display']['type'] in ('lcdhat'):
config['ui']['display']['type'] = 'lcdhat'
else:
print("unsupported display type %s" % config['ui']['display']['type'])
exit(1)