From 3b2031695351b43a561dae2066f5887996197bf9 Mon Sep 17 00:00:00 2001 From: Matt Gleason Date: Tue, 12 Sep 2023 14:35:14 -0400 Subject: [PATCH] SFT-2751: fixed linting and compiling --- ports/stm32/boards/Passport/modules/flows/scan_qr_flow.py | 2 +- ports/stm32/boards/Passport/modules/flows/sign_psbt_qr_flow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/stm32/boards/Passport/modules/flows/scan_qr_flow.py b/ports/stm32/boards/Passport/modules/flows/scan_qr_flow.py index 0c15d7b8c..521f12c02 100644 --- a/ports/stm32/boards/Passport/modules/flows/scan_qr_flow.py +++ b/ports/stm32/boards/Passport/modules/flows/scan_qr_flow.py @@ -17,7 +17,7 @@ def __init__(self, explicit_type=None, data_description=None, max_frames=None, - failure_message=None): + failure_message=None, pass_error=False): """ Initialize the scan QR flow. diff --git a/ports/stm32/boards/Passport/modules/flows/sign_psbt_qr_flow.py b/ports/stm32/boards/Passport/modules/flows/sign_psbt_qr_flow.py index 441ee163b..95acc6657 100644 --- a/ports/stm32/boards/Passport/modules/flows/sign_psbt_qr_flow.py +++ b/ports/stm32/boards/Passport/modules/flows/sign_psbt_qr_flow.py @@ -34,7 +34,7 @@ async def scan_transaction(self): data_description='a PSBT file', max_frames=self.max_frames, failure_message="Unable to Scan QR code, \ -try signing using the microSD card.\n\n{}").run() +try signing using the microSD card.\n\n{}", pass_error=True).run() if result is None: # User canceled the scan