diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72d15fa..76d8049 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,3 +61,4 @@ jobs: with: pytest-coverage-path: ./pytest-coverage.txt junitxml-path: ./pytest.xml + if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest' diff --git a/extract_otp_secret_keys.py b/extract_otp_secret_keys.py index 83f9516..68096ee 100644 --- a/extract_otp_secret_keys.py +++ b/extract_otp_secret_keys.py @@ -231,7 +231,7 @@ def extract_otps_from_camera(args: Args) -> Otps: elif key == 32: qr_mode = QRMode((qr_mode.value + 1) % len(QRMode)) if verbose: print(f"QR reading mode: {qr_mode}") - if cv2.getWindowProperty(window_name,cv2.WND_PROP_VISIBLE) < 1: + if cv2.getWindowProperty(window_name, cv2.WND_PROP_VISIBLE) < 1: # Window close clicked break