mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
Add missing return from delete YubiOTP configuration
This commit is contained in:
parent
af99818454
commit
905f01d440
@ -154,6 +154,7 @@ class SlotNode(RpcNode):
|
||||
access_code = params.pop("curr_acc_code", None)
|
||||
access_code = bytes.fromhex(access_code) if access_code else None
|
||||
self.session.delete_slot(self.slot, access_code)
|
||||
return dict()
|
||||
except CommandError:
|
||||
raise ValueError(_FAIL_MSG)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user