Little bit of refactoring
This commit is contained in:
parent
436cb881b2
commit
1df45d5901
3 changed files with 3 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ def make_request(*args, data=None, request_method=requests.post):
|
|||
print('Error occurred while getting output from api server.')
|
||||
|
||||
|
||||
def get_token(ctx, param, value):
|
||||
def get_token(_, param, value):
|
||||
if value is not None:
|
||||
try:
|
||||
token = TOTP(value).now()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue