From e8a3c69ed376600d9fab2f5815d5eab1e459b612 Mon Sep 17 00:00:00 2001 From: alvii147 Date: Sun, 6 Oct 2024 16:16:41 -0400 Subject: [PATCH] fix progress bars --- docs/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build.py b/docs/build.py index 2d55aa4..bb25847 100644 --- a/docs/build.py +++ b/docs/build.py @@ -73,7 +73,7 @@ def difficulty_shields_io(difficulty): listdir = os.listdir(f'../{category_name}/') listdir = sorted(listdir, key=lambda x: int(x.split('_')[0])) - progress_bar = 'https://progress-bar.dev/' + str(round((len(listdir) / free_count) * 100)) + progress_bar = 'https://progress-bar.xyz/' + str(round((len(listdir) / free_count) * 100)) readme_file.write(f'## {category_name}\n\n') readme_file.write(f'{category_name} Logo\n\n') @@ -95,4 +95,4 @@ def difficulty_shields_io(difficulty): readme_file.write(f'{problem_id} | [{title}]({category_name}/{problem_dir}) | ![Difficulty]({difficulty_shield}) | {language_badges}\n') - readme_file.write('\n') \ No newline at end of file + readme_file.write('\n')