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