From f19d0e6b02c5cd0c1d911636b6f7e1568160c17a Mon Sep 17 00:00:00 2001 From: dmone032 Date: Wed, 4 Nov 2020 16:29:37 -0500 Subject: [PATCH] Added script that takes a char as an arg (to replace 64 scripts) --- test-flap-all.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test-flap-all.py b/test-flap-all.py index 3d96b6e..c77960a 100644 --- a/test-flap-all.py +++ b/test-flap-all.py @@ -35,7 +35,7 @@ if((len(sys.argv)) > 1): lines = [22*c, 22*c, 22*c, 22*c, 22*c, 22*c] print(lines) test_flag = 0 - print lines + print(lines) sys.stdout.flush() row_num = len(lines) @@ -54,16 +54,16 @@ if((len(sys.argv)) > 1): print('*** Jolly good! Message format valid. ***') sys.stdout.flush() if lines and is_new_content(lines, last_lines): - print 'before setup digits' + print('before setup digits') sys.stdout.flush() setup_digits(lines, left_to_right_swap=False, real_hw=real_hw) - print 'after setup digits' + print('after setup digits') sys.stdout.flush() last_lines = lines - print 'Waiting for bits to change...' + print('Waiting for bits to change...') sys.stdout.flush() time.sleep(6) - print 'Click \"Next Flap\" to continue.' + print('Click \"Next Flap\" to continue.') sys.stdout.flush() else: print("Invalid character selection... try again.")