From 292baf435d7f1737a59531f2dc52e276e931f8ab Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 7 Aug 2015 17:25:16 +0200 Subject: [PATCH] Uh, un altro crash? Forse? --- royalbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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