This commit is contained in:
Sakooooo 2024-09-24 10:04:40 +04:00
parent b6e2908000
commit 5b559b4941
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -40,7 +40,7 @@ def get_client_token(account):
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): def get_client_refresh_token(account):
cmd = check_output("pass " + account, shell=True) cmd = check_output("pass " + account, shell=True)
return re.search(rb"client_refresh_token: (.*)", cmd, flags=0).group(1) return re.search(rb"client_refresh_token: (.*)", cmd, flags=0).group(1)