This commit is contained in:
Aevann1 2022-02-12 23:02:34 +02:00
parent 471a2f3b11
commit 52aef86c0c
4 changed files with 4 additions and 8 deletions

View file

@ -361,8 +361,6 @@ class Comment(Base):
amount = randint(0, 3)
self.upvotes += amount
g.db.add(self)
self.author.coins += amount
g.db.add(self.author)
g.db.commit()
for c in self.options: