fix errore di sintassi

This commit is contained in:
mac12m99
2019-08-14 12:18:10 +02:00
parent 25b3a66a21
commit de7bfcfb26

View File

@@ -127,7 +127,7 @@ def authentication():
# Se solicita el token de acceso y el de actualización para cuando el primero caduque
post = urllib.urlencode({"client_id": debrid_id, "client_secret": secret, "code": device_code,
"grant_type": "http://oauth.net/grant_type/device/1.0"})
data = htttools.downloadpage("https://api.real-debrid.com/oauth/v2/token", post=post,
data = httptools.downloadpage("https://api.real-debrid.com/oauth/v2/token", post=post,
headers=headers.items()).data
data = jsontools.load(data)