From 4ab8ec218cfb6e46036b8c512432a5b7ed4b29fb Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 26 Nov 2023 03:53:24 -0800 Subject: add 10K increments if sub count below 100K --- backend/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/app.py b/backend/app.py index 7e8deae..9926220 100644 --- a/backend/app.py +++ b/backend/app.py @@ -64,7 +64,7 @@ def api_subscribers_channel_7d(channel_name): def get_channel_information(channel_name): def find_next_milestone(subscriber_count): if subscriber_count < 100000: - return 100000 + return ((subscriber_count // 10000) + 1) * 10000 elif subscriber_count < 1000000: return ((subscriber_count // 100000) + 1) * 100000 else: -- cgit v1.2.3