mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 16:32:01 +03:00
Fix exception when toggling USB interfaces.
This commit is contained in:
parent
ea0d7928ba
commit
8d3aaa0ba2
@ -57,7 +57,7 @@ class ManagementNode(RpcNode):
|
||||
connection_types = [
|
||||
t
|
||||
for t in [SmartCardConnection, OtpConnection, FidoConnection]
|
||||
if ifaces.supports_connection(t)
|
||||
if t.usb_interface in ifaces
|
||||
]
|
||||
|
||||
self.session.close()
|
||||
|
Loading…
Reference in New Issue
Block a user