Skip to content

Commit

Permalink
fix(main): progress bar not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
One-Nose committed Aug 6, 2023
1 parent cdbcc3a commit 0198614
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def create_datapack(
total=6,
bar_format='{l_bar}{bar:50}| {n_fmt}/{total_fmt}{postfix}',
postfix='Preparing datapack...',
mininterval=0,
) as pbar:
refresh_dir(path)

Expand Down Expand Up @@ -239,6 +240,7 @@ def create_resourcepack(
total=7,
bar_format='{l_bar}{bar:50}| {n_fmt}/{total_fmt}{postfix}',
postfix='Preparing resource pack...',
mininterval=0,
) as pbar:
refresh_dir(path)

Expand Down

0 comments on commit 0198614

Please sign in to comment.