diff options
| author | Pinapelz <yukais@pinapelz.com> | 2023-11-26 03:53:24 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2023-11-26 03:53:24 -0800 |
| commit | 4ab8ec218cfb6e46036b8c512432a5b7ed4b29fb (patch) | |
| tree | 99c80987ee8d3ad2ccb6bcf7afe156afb10c95d1 | |
| parent | 79bd62d3659267a660f45cd00f7239529f091917 (diff) | |
add 10K increments if sub count below 100K
| -rw-r--r-- | backend/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
