diff --git a/royalbot.py b/royalbot.py index d0b36615..617df96f 100644 --- a/royalbot.py +++ b/royalbot.py @@ -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