소스 검색

Fixed active ballot in model

JoostSijm 6 년 전
부모
커밋
1a83861e05
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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):