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.