From fddd246db4e4ef9a5f9c6e7ccc4aa2480518ac32 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 7 Aug 2015 17:28:28 +0200 Subject: [PATCH] Forse...? --- royalbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/royalbot.py b/royalbot.py index 617df96f..6e3fac15 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().decode('utf-8') + r = requests.get("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/", params=parametri).json() return r #Il loop del bot @@ -98,6 +98,6 @@ while(True): text = "Disponibile per scambiare" elif(online == 6): text = "Disponibile per giocare" - sendMessage(name + " รจ " + text + ".", msg['chat']['id']) + sendMessage(name + " e' " + text + ".", msg['chat']['id']) else: sendMessage("Lo steamid non esiste!", msg['chat']['id']) \ No newline at end of file