aboutsummaryrefslogtreecommitdiff
path: root/app/models.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-05-30 15:32:50 +0100
committerrubenwardy <rw@rubenwardy.com>2020-05-30 15:32:50 +0100
commited78a2e06f7bb3090cf11632eccbfac3aa335030 (patch)
tree00814929115c05c5665e8648e0aa9d6cbdbe9a93 /app/models.py
parent55a90e0464a44aad4322ab9f8692dc352c5d4d44 (diff)
downloadcheatdb-ed78a2e06f7bb3090cf11632eccbfac3aa335030.tar.xz
Remove non-free score penalisation
Diffstat (limited to 'app/models.py')
-rw-r--r--app/models.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models.py b/app/models.py
index 8f00c95..aeab995 100644
--- a/app/models.py
+++ b/app/models.py
@@ -714,9 +714,6 @@ class Package(db.Model):
if self.getMainScreenshotURL() is None:
self.score *= 0.8
- if not self.license.is_foss or not self.media_license.is_foss:
- self.score *= 0.1
-
class MetaPackage(db.Model):
id = db.Column(db.Integer, primary_key=True)