Skip to content

Commit

Permalink
Fix message when no tasks accepted
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Yu committed May 18, 2021
1 parent fdd309d commit cfef9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tk_multi_publish2/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cfef9b5

Please sign in to comment.