diff --git a/python/tk_multi_publish2/dialog.py b/python/tk_multi_publish2/dialog.py index 6b8529ee..8adc1b9c 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: