mirror of
https://github.com/ProjectSynthoria/SynthoriaArchive.git
synced 2025-03-12 15:26:56 +02:00
Jeez fine PEP8 I get it
This commit is contained in:
parent
6f4aad56ab
commit
f7ed2c06d3
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class Torrent(db.Model):
|
|||
return '<{0} #{1.id} \'{1.display_name}\' {1.filesize}b>'.format(type(self).__name__, self)
|
||||
|
||||
def update_comment_count(self):
|
||||
self.comment_count = Comment.query.filter_by(torrent_id = self.id).count()
|
||||
self.comment_count = Comment.query.filter_by(torrent_id=self.id).count()
|
||||
return self.comment_count
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Reference in a new issue