1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44: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()
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.