diff --git a/files/classes/polls.py b/files/classes/polls.py index 49e6def73..42b3aacda 100644 --- a/files/classes/polls.py +++ b/files/classes/polls.py @@ -39,7 +39,6 @@ class SubmissionOptionVote(Base): submission_id = Column(Integer, ForeignKey("submissions.id")) user = relationship("User") - option = relationship("SubmissionOption") def __init__(self, *args, **kwargs): if "created_utc" not in kwargs: kwargs["created_utc"] = int(time.time()) @@ -89,7 +88,6 @@ class CommentOptionVote(Base): comment_id = Column(Integer, ForeignKey("comments.id")) user = relationship("User") - option = relationship("CommentOption") def __init__(self, *args, **kwargs): if "created_utc" not in kwargs: kwargs["created_utc"] = int(time.time())