From c8ef41eaf0478b9c222ffc911f678812850c06a2 Mon Sep 17 00:00:00 2001 From: scoobybejesus <21372487+scoobybejesus@users.noreply.github.com> Date: Wed, 6 Jan 2021 21:48:36 -0500 Subject: [PATCH] Update price.py Removed two tabs that snuck in and replaced with spaces --- price.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/price.py b/price.py index e9189ab..a8e4402 100644 --- a/price.py +++ b/price.py @@ -431,10 +431,10 @@ def top(bot, trigger): limit = int(trigger.group(2)) if limit > 20: bot.say("Too high! Max is 20!") - limit = 20 + limit = 20 elif limit < 1: bot.say("Dude...") - return + return r = requests.get('https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page={}&page=1&sparkline=false'.format(limit)) j = r.json() for i in j: