aaa
This commit is contained in:
parent
ab63c7a508
commit
b6e2908000
1 changed files with 6 additions and 0 deletions
|
@ -38,3 +38,9 @@ def get_client_token(account):
|
||||||
cmd = check_output("pass " + account, shell=True)
|
cmd = check_output("pass " + account, shell=True)
|
||||||
|
|
||||||
return re.search(rb"client_token: (.*)", cmd, flags=0).group(1)
|
return re.search(rb"client_token: (.*)", cmd, flags=0).group(1)
|
||||||
|
|
||||||
|
|
||||||
|
def get_client_token(account):
|
||||||
|
cmd = check_output("pass " + account, shell=True)
|
||||||
|
|
||||||
|
return re.search(rb"client_refresh_token: (.*)", cmd, flags=0).group(1)
|
||||||
|
|
Loading…
Reference in a new issue