From ad03f9d16951d8d30d8fbb8e6ef1f3814221ff6e Mon Sep 17 00:00:00 2001 From: Gustaf Haglund <31934052+ghagl@users.noreply.github.com> Date: Tue, 6 Jun 2023 09:46:49 +0000 Subject: [PATCH] https://github.com/solokeys/solo1-cli/pull/152 --- solo/devices/solo_v1.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/solo/devices/solo_v1.py b/solo/devices/solo_v1.py index 0c4328f..fd64c22 100644 --- a/solo/devices/solo_v1.py +++ b/solo/devices/solo_v1.py @@ -8,8 +8,8 @@ from fido2.client import Fido2Client from fido2.ctap import CtapError -from fido2.ctap1 import CTAP1 -from fido2.ctap2 import CTAP2 +from fido2.ctap1 import Ctap1 +from fido2.ctap2 import Ctap2 from fido2.hid import CTAPHID, CtapHidDevice from intelhex import IntelHex @@ -64,9 +64,9 @@ def find_device(self, dev=None, solo_serial=None): dev = devices[0] self.dev = dev - self.ctap1 = CTAP1(dev) + self.ctap1 = Ctap1(dev) try: - self.ctap2 = CTAP2(dev) + self.ctap2 = Ctap2(dev) except CtapError: self.ctap2 = None