aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar PythonTryHard <[email protected]>2021-09-24 20:47:46 +0700
committerGravatar PythonTryHard <[email protected]>2021-09-24 20:47:46 +0700
commit4590c42f8398787902881ef51396142c32366088 (patch)
treec247a5704dabea4cf13871f77cd95c92748cb43f
parentBisect only on love percent thresholds (diff)
Remove trailing whitespace
-rw-r--r--bot/exts/holidays/valentines/lovecalculator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/holidays/valentines/lovecalculator.py b/bot/exts/holidays/valentines/lovecalculator.py
index 3ef9c3e1..a53014e5 100644
--- a/bot/exts/holidays/valentines/lovecalculator.py
+++ b/bot/exts/holidays/valentines/lovecalculator.py
@@ -74,7 +74,7 @@ class LoveCalculator(Cog):
# We need the -1 due to how bisect returns the point
# see the documentation for further detail
# https://docs.python.org/3/library/bisect.html#bisect.bisect
- love_threshold = [threshold for threshold, _ in LOVE_DATA]
+ love_threshold = [threshold for threshold, _ in LOVE_DATA]
index = bisect.bisect(love_threshold, love_percent) - 1
# We already have the nearest "fit" love level
# We only need the dict, so we can ditch the first element