Created
April 13, 2016 23:33
-
-
Save djmunro/173f6d26e4598cc199ec108df60f5a63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On the clock screen: False | |
Traceback (most recent call last): | |
File "hmi.py", line 42, in <module> | |
print('Found button: {}'.format(**get_button(data, ButtonDebugID.CLOSE))) | |
File "hmi.py", line 36, in get_button | |
return next(x['name'] for x in get_all_screens(data) if x['name'] == button.value) | |
File "hmi.py", line 36, in <genexpr> | |
return next(x['name'] for x in get_all_screens(data) if x['name'] == button.value) | |
TypeError: string indices must be integers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment