This commit is contained in:
Sakooooo 2024-09-24 10:20:07 +04:00
parent 1738331cf4
commit 83b4e9e809
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -43,4 +43,6 @@ def get_client_token(account):
def get_client_refresh_token(account):
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)