1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 12:04:20 +00:00

meno righe!

This commit is contained in:
Steffo 2016-03-03 19:26:25 +01:00
parent 3ee126802f
commit 947dc16f90

5
bot.py
View file

@ -671,10 +671,7 @@ while True:
ora = time.gmtime() ora = time.gmtime()
cmd = text.split(" ", 1) cmd = text.split(" ", 1)
if len(cmd) > 1: if len(cmd) > 1:
if cmd[1].startswith("refresh"): refresh = cmd[1].startswith("refresh")
refresh = True
else:
refresh = False
else: else:
refresh = False refresh = False
# Controlla se i dati sono già stati scaricati. # Controlla se i dati sono già stati scaricati.