diff --git a/scripts/tmp_main.py b/scripts/tmp_main.py index 0e656b9..90c6f58 100644 --- a/scripts/tmp_main.py +++ b/scripts/tmp_main.py @@ -21,9 +21,9 @@ upiwin_tmp.textout(10, 180, 'Amy was here!!!') msg = {} while upiwin.get_message(msg): if msg['message'] == upiwin.WM_HWBUTTONDOWN: - print("Button {0} was pressed.\n".format(msg['attrs'][0]) + print("Button {0} was pressed.\n".format(msg['attrs'][0])) elif msg['message'] == upiwin.WM_HWBUTTONUP: - print("Button {0} was released.\n".format(msg['attrs'][0]) + print("Button {0} was released.\n".format(msg['attrs'][0])) bn = msg['attrs'][0] if bn == 1: print("Backlight ON.\n")