From 8cb7ddada8cf061444844a24fba2e1d40b8fbb16 Mon Sep 17 00:00:00 2001 From: hkey <81494947+hkey0@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:23:24 +0300 Subject: [PATCH] Update decorators.py --- pinksale/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinksale/decorators.py b/pinksale/decorators.py index 4a00c36..85d169c 100644 --- a/pinksale/decorators.py +++ b/pinksale/decorators.py @@ -1,6 +1,6 @@ def needs_private_key(function): def wrapper(*args, **kwargs): - assert args[0].private_key != None, "This functions needs private key." + assert args[0].private_key != None, "This functions need a private key." resp = function(*args, **kwargs) return resp