@@ -118,8 +118,6 @@ def score_results(results):
118 weight = 1.0
118 weight = 1.0
119 if hasattr(engines[res['engine']], 'weight'):
119 if hasattr(engines[res['engine']], 'weight'):
120 weight = float(engines[res['engine']].weight)
120 weight = float(engines[res['engine']].weight)
121− elif res['engine'] in settings.weights:
122− weight = float(settings.weights[res['engine']])
123 score = int((flat_len - i)/engines_len)*weight+1
121 score = int((flat_len - i)/engines_len)*weight+1
124 duplicated = False
122 duplicated = False
125 for new_res in results:
123 for new_res in results: