From d9d33a0213701ee336bc6e699da924887093be1a Mon Sep 17 00:00:00 2001 From: Lesha Lomalkin Date: Mon, 25 Oct 2021 18:19:48 +0300 Subject: [PATCH] otp.py: fix return code mistype (#784) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- scripts/otp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/otp.py b/scripts/otp.py index c16f98fe..edad4b07 100755 --- a/scripts/otp.py +++ b/scripts/otp.py @@ -170,9 +170,9 @@ class Main(App): os.remove(filename) except Exception as e: self.logger.exception(e) - return 0 + return 1 - return 1 + return 0 def flash_second(self): self.logger.info(f"Flashing second block of OTP")