Ver código fonte

Fixed active ballot in model

JoostSijm 6 anos atrás
pai
commit
1a83861e05
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      app/models.py

+ 1 - 2
app/models.py

@@ -175,8 +175,7 @@ class Ballot(db.Model):
         today = datetime.today()
         if self.start_at <= today <= self.end_at:
             return True
-        #return False
-        return True
+        return False
 
 
 class Priority(db.Model):