Browse Source

Fixed active ballot in model

JoostSijm 6 năm trước cách đây
mục cha
commit
1a83861e05
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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):