From 16afe2b970c48ba1d463882b6ee18b9e3e8d1417 Mon Sep 17 00:00:00 2001 From: Dylan McCall Date: Mon, 12 Jun 2023 11:24:22 -0700 Subject: [PATCH] !fixup Apply suggestions from code review Co-authored-by: manuq --- kolibri_explore_plugin/collectionviews.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kolibri_explore_plugin/collectionviews.py b/kolibri_explore_plugin/collectionviews.py index 4dec67466..ea4b87de2 100644 --- a/kolibri_explore_plugin/collectionviews.py +++ b/kolibri_explore_plugin/collectionviews.py @@ -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: @@ -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"]