Skip to content

Commit

Permalink
!fixup Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: manuq <[email protected]>
  • Loading branch information
dylanmccall and manuq authored Jun 12, 2023
1 parent 942406c commit 16afe2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kolibri_explore_plugin/collectionviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def get_status(self):
/ total_tasks_number
)
else:
progress = 0
progress = PROGRESS_STEPS["downloading"]

elif self._stage == DownloadStage.IMPORTING_EXTRA_CHANNELS:
if total_tasks_number > 0:
Expand All @@ -438,7 +438,7 @@ def get_status(self):
/ total_tasks_number
)
else:
progress = 0
progress = PROGRESS_STEPS["tagging"]

elif self._stage == DownloadStage.COMPLETED:
progress = PROGRESS_STEPS["completed"]
Expand Down

0 comments on commit 16afe2b

Please sign in to comment.