Skip to content

Commit

Permalink
Update decorators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hkey0 authored Oct 11, 2023
1 parent 6f9962a commit 8cb7dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinksale/decorators.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 8cb7dda

Please sign in to comment.