remotes/1693045480750635534/spooky-22
Aevann1 2021-12-02 22:14:44 +02:00
parent 68d06e2fd4
commit b5f63cd071
2 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@ class Comment(Base):
maxupvotes = min(ti, 31)
rand = randint(0, maxupvotes)
if self.upvotes < rand:
self.upvotes += randint(0, 5)
self.upvotes += randint(0, 3)
g.db.add(self)
g.db.commit()

View File

@ -335,7 +335,7 @@ class Submission(Base):
maxupvotes = min(ti, 27)
rand = random.randint(0, maxupvotes)
if self.upvotes < rand:
self.upvotes += random.randint(0, 5)
self.upvotes += random.randint(0, 3)
g.db.add(self)
g.db.commit()