From 6baa9a683adcdd5a1b0dad016cd5b51af8709457 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 8 Aug 2015 12:21:59 +0200 Subject: [PATCH] Sistemato un crash --- royalbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/royalbot.py b/royalbot.py index 7261d796..1c553ca2 100644 --- a/royalbot.py +++ b/royalbot.py @@ -119,6 +119,8 @@ while(True): name = steam['response']['players'][0]['personaname'] if(steam['response']['players'][0]['gameextrainfo']): ingame = steam['response']['players'][0]['gameextrainfo'] + else: + ingame = None text = "" if(online == 0): text = unichr(9898) + " Offline"