Browse Source

Fixed active ballot in model

JoostSijm 6 years ago
parent
commit
1a83861e05
1 changed files with 1 additions and 2 deletions
  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):