diff options
author | rubenwardy <rw@rubenwardy.com> | 2019-11-21 22:16:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-21 22:16:35 +0000 |
commit | 33b2b38308c41fc9d182df241a317f700d861d9a (patch) | |
tree | 78563e21df2243e7597e0f74c018e8ef01a37cee /app/tasks/forumtasks.py | |
parent | 94426e97aa0f539be2c0a04b91e1beefef30563e (diff) | |
download | cheatdb-33b2b38308c41fc9d182df241a317f700d861d9a.tar.xz |
Improve package scoring
Diffstat (limited to 'app/tasks/forumtasks.py')
-rw-r--r-- | app/tasks/forumtasks.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/tasks/forumtasks.py b/app/tasks/forumtasks.py index 9b200fc..4a4e27f 100644 --- a/app/tasks/forumtasks.py +++ b/app/tasks/forumtasks.py @@ -171,7 +171,4 @@ def importTopicList(): topic.views = int(info["views"]) topic.created_at = info["date"] - for p in Package.query.all(): - p.recalcScore() - db.session.commit() |