From 905f01d4402404eed35e0cec52008392904d924b Mon Sep 17 00:00:00 2001 From: Elias Bonnici Date: Fri, 30 Aug 2024 10:17:38 +0200 Subject: [PATCH] Add missing return from delete YubiOTP configuration --- helper/helper/yubiotp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/helper/yubiotp.py b/helper/helper/yubiotp.py index 83ac55eb..5da9d057 100644 --- a/helper/helper/yubiotp.py +++ b/helper/helper/yubiotp.py @@ -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)