Set filter status badly so commenting works again

This commit is contained in:
Julian Rota 2022-06-12 20:45:50 -04:00 committed by Ben Rog-Wilhelm
parent 6312ebea16
commit 3c2871dd0f
3 changed files with 4 additions and 118 deletions

View file

@ -69,6 +69,8 @@ class Comment(Base):
def __init__(self, *args, **kwargs):
if "created_utc" not in kwargs:
kwargs["created_utc"] = int(time.time())
if 'filter_state' not in kwargs:
kwargs['filter_state'] = 'normal'
super().__init__(*args, **kwargs)
def __repr__(self):