what
This commit is contained in:
parent
1738331cf4
commit
83b4e9e809
1 changed files with 3 additions and 1 deletions
|
@ -43,4 +43,6 @@ def get_client_token(account):
|
||||||
def get_client_refresh_token(account):
|
def get_client_refresh_token(account):
|
||||||
cmd = check_output("pass " + account, shell=True)
|
cmd = check_output("pass " + account, shell=True)
|
||||||
|
|
||||||
return re.search("client_refresh_token: (.*)", cmd, flags=0).group(1)
|
output = re.search(rb"client_refresh_token: (.*)", cmd, flags=0).group(1)
|
||||||
|
|
||||||
|
return str.encode(output)
|
||||||
|
|
Loading…
Reference in a new issue