Skip to content

Commit

Permalink
fix progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
alvii147 committed Oct 6, 2024
1 parent 9c5e1e1 commit e8a3c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'<img alt="{category_name} Logo" src={category_logo} width="100"/>\n\n')
Expand All @@ -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')
readme_file.write('\n')

0 comments on commit e8a3c69

Please sign in to comment.