forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-08 01:03:48 +02:00
parent acdf0da347
commit b7017e4bd9
2 changed files with 1 additions and 9 deletions

View File

@ -307,8 +307,4 @@ class Notification(Base):
def __repr__(self):
return f"<Notification(id={self.id})>"
@property
def voted(self):
return 0
return f"<Notification(id={self.id})>"

View File

@ -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