From 947dc16f903385d8b5ea5ade3ce67d054827c630 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 3 Mar 2016 19:26:25 +0100 Subject: [PATCH] meno righe! --- bot.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 6147b5e2..bf0864a3 100644 --- a/bot.py +++ b/bot.py @@ -671,10 +671,7 @@ while True: ora = time.gmtime() cmd = text.split(" ", 1) if len(cmd) > 1: - if cmd[1].startswith("refresh"): - refresh = True - else: - refresh = False + refresh = cmd[1].startswith("refresh") else: refresh = False # Controlla se i dati sono giĆ  stati scaricati.