This commit is contained in:
Aevann1 2022-02-05 19:51:42 +02:00
parent 7ff96743c2
commit f5eb910675
23 changed files with 28 additions and 40 deletions

View file

@ -180,16 +180,10 @@ class Submission(Base):
return str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(self.edited_utc)))
if SITE_NAME == 'Too4You':
@property
@lazy
def score(self):
return self.upvotes
else:
@property
@lazy
def score(self):
return self.upvotes - self.downvotes
@property
@lazy
def score(self):
return self.upvotes - self.downvotes
@property
@lazy