1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Uh, un altro crash? Forse?

This commit is contained in:
Steffo 2015-08-07 17:25:16 +02:00
parent e916fe3abc
commit 292baf435d

View file

@ -60,7 +60,7 @@ def getSteamStatus(steamid):
'steamids': steamid,
}
#Manda la richiesta ai server di Telegram e convertila in un dizionario
r = requests.get("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/", params=parametri).json()
r = requests.get("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/", params=parametri).json().decode('utf-8')
return r
#Il loop del bot