Fix check consistency script

This commit is contained in:
Yohann D'ANELLO 2020-08-05 23:53:44 +02:00
parent e01b48b807
commit 47dc4dd9e6
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Command(BaseCommand):
else:
self.stdout.write(self.style.SUCCESS("La somme des notes vaut bien zéro."))
notes = None
notes = Note.objects.none()
if options["check_all"]:
notes = Note.objects.all()
elif options["check"]: