Skip to content

Commit

Permalink
tries fixing progress bar handling
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Apr 17, 2024
1 parent 0f91989 commit 4952dc9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/wikigrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ def run_wiki_checks(self):
try:
with self.solution.content_div:
progress_bar.reset()
for wiki_state in self.wikistates_by_row_no.values():
for wiki_check in self.wiki_checks:
if wiki_check.checked:
wiki_check.func(wiki_state)
self.lod_grid.update()
if progress_bar:
for wiki_state in self.wikistates_by_row_no.values():
for wiki_check in self.wiki_checks:
if wiki_check.checked:
wiki_check.func(wiki_state)
with self.solution.content_div:
self.lod_grid.update()
# Update the progress bar
progress_bar.update(1)
except BaseException as ex:
Expand Down

0 comments on commit 4952dc9

Please # to comment.