Remove non-free score penalisation

This commit is contained in:
rubenwardy
2020-05-30 15:32:50 +01:00
parent 55a90e0464
commit ed78a2e06f
4 changed files with 3 additions and 12 deletions

View File

@@ -134,8 +134,6 @@ def download_release(package, id):
set_key(key, "true")
bonus = 1
if not package.getIsFOSS():
bonus *= 0.1
PackageRelease.query.filter_by(id=release.id).update({
"downloads": PackageRelease.downloads + 1