From 0f1255f614baabf24f4089d71377fb3ba6d83661 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 4 Jul 2021 20:25:26 +0200 Subject: [PATCH] Buffed TopLists a bit --- caliGraph.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/caliGraph.py b/caliGraph.py index 6111a8f..f8e4a53 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -86,6 +86,12 @@ def getTopListWheight(book, topList): minScope = min(minScope, scope) if minScope == 100000: raise Exception("You stupid?") + if minScope == 10: + return 1 + elif minScope == 25: + return 0.85 + elif minScope == 100: + return 0.5 return minScope / 10