Add missing return from delete YubiOTP configuration

This commit is contained in:
Elias Bonnici 2024-08-30 10:17:38 +02:00
parent af99818454
commit 905f01d440
No known key found for this signature in database
GPG Key ID: 5EAC28EA3F980CCF

View File

@ -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)