diff --git a/files/classes/comment.py b/files/classes/comment.py index cdc251a70..f3597d5ba 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -307,8 +307,4 @@ class Notification(Base): def __repr__(self): - return f"" - - @property - def voted(self): - return 0 \ No newline at end of file + return f"" \ No newline at end of file diff --git a/files/classes/submission.py b/files/classes/submission.py index c7c5ed6af..915040137 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -291,10 +291,6 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing): def has_award(self, kind): return bool(len([x for x in self.awards if x.kind == kind])) - @property - def voted(self): - return self.voted if "voted" in self.__dict__ else 0 - @property def title(self): return self.submission_aux.title