From ba1092a7e5eb5327d8c56f63934dfe4eb50905bb Mon Sep 17 00:00:00 2001 From: Joseph Yu Date: Mon, 8 Mar 2021 18:29:29 +0000 Subject: [PATCH] Fix message when no tasks accepted --- python/tk_multi_publish2/dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tk_multi_publish2/dialog.py b/python/tk_multi_publish2/dialog.py index e2287cf2..d330a998 100644 --- a/python/tk_multi_publish2/dialog.py +++ b/python/tk_multi_publish2/dialog.py @@ -880,7 +880,7 @@ def _on_drop(self, files): self._overlay.show_loading() self.ui.button_container.hide() new_items = self._publish_manager.collect_files(str_files) - num_items_created = len(new_items) + num_items_created = len([item for item in new_items if item.tasks]) num_errors = self._progress_handler.pop() if num_errors == 0 and num_items_created == 0: