From 7c5202c699efa1dc7b90d9fe85f5d9240077a70a Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 22 Apr 2023 10:26:11 -0700 Subject: [PATCH] fix miscompile in BLFlashCommand --- BLFlashCommand.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BLFlashCommand.py b/BLFlashCommand.py index 07ade68..b2bb156 100644 --- a/BLFlashCommand.py +++ b/BLFlashCommand.py @@ -117,8 +117,8 @@ class MainClass: else: filedir = config.get(item, 'filedir') address = config.get(item, 'address') - if not self.get_value_file(item, filedir, address, args.cpu_id): - return False + if not self.get_value_file(item, filedir, address, args.cpu_id): + return False except Exception as e: try: