From 90c94667076acf5bf8b14aa7f1a20d3b59b25f46 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 28 Feb 2016 15:19:14 +0100 Subject: [PATCH] =?UTF-8?q?Pi=C3=B9=20bellino?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 63f365ad..21d9a363 100644 --- a/bot.py +++ b/bot.py @@ -721,5 +721,7 @@ while True: else: print("@" + username + " bloccato.") except Exception as e: - telegram.sendmessage("*ERRORE:\n*" + telegram.sendmessage(chr(9762) + " *ERRORE CRITICO:\n*" "{0}\n".format(repr(e.args)), -2141322) + print("ERRORE CRITICO:\n" + "{0}".format(repr(e))) \ No newline at end of file