From 72f81e4f58c2ef9d2b51f63ed7b52fbd9438a3da Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Thu, 8 Apr 2021 01:05:48 +0000 Subject: [PATCH] Fix typing mistake not caught on previous AP2 check-in. --- bemani/format/afp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bemani/format/afp.py b/bemani/format/afp.py index 9f0d9a9..c8577a5 100644 --- a/bemani/format/afp.py +++ b/bemani/format/afp.py @@ -3038,7 +3038,7 @@ class SWF: constraint = struct.unpack(">b", datachunk[(offset_ptr + 1):(offset_ptr + 2)])[0] offset_ptr += 2 - vprint(f"{prefix} {lineno}: {action_name} Constrain Mouse: {'yes' if constraint > 0 else ('no' if constrained == 0 else 'check stack')}") + vprint(f"{prefix} {lineno}: {action_name} Constrain Mouse: {'yes' if constraint > 0 else ('no' if constraint == 0 else 'check stack')}") elif opcode == AP2Action.ADD_NUM_REGISTER: register_no, amount_to_add = struct.unpack(">BB", datachunk[(offset_ptr + 1):(offset_ptr + 3)]) offset_ptr += 3