forked from rDrama/rDrama
master
parent
acdf0da347
commit
b7017e4bd9
|
@ -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})>"
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue