more coherent names

This commit is contained in:
Ludovic Stephan 2016-11-14 12:52:02 -02:00
parent 790e73d7a4
commit a63269a4ce
5 changed files with 8 additions and 7 deletions

View file

@ -31,7 +31,7 @@ class Command(BaseCommand):
revente.send_notif()
self.stdout.write("Mail d'inscription à une revente envoyé")
# Check si tirage à faire
elif (now >= revente.expiration_time and
elif (now >= revente.date_tirage and
not revente.tirage_done):
self.stdout.write(str(now))
revente.tirage()