From 309527cea2edc6f94590c0549f4aa5e7d3b57428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Thu, 16 Nov 2023 11:32:20 +0100 Subject: [PATCH] Fix typing --- pynitrokey/nk3/admin_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynitrokey/nk3/admin_app.py b/pynitrokey/nk3/admin_app.py index 662c4c02..8cc44999 100644 --- a/pynitrokey/nk3/admin_app.py +++ b/pynitrokey/nk3/admin_app.py @@ -188,7 +188,7 @@ def factory_reset(self) -> None: raise e FactoryResetStatus.check(reply[0], "Failed to factory reset the device") - def factory_reset_app(self, application) -> None: + def factory_reset_app(self, application: str) -> None: reply = self._call( AdminCommand.FACTORY_RESET_APP, data=application.encode("ascii"),