Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2232 from pypeclub/bugfix/fix_pyblish_pype_targets
Browse files Browse the repository at this point in the history
Pyblish Tool: Fix targets handling
  • Loading branch information
iLLiCiTiT authored Nov 10, 2021
2 parents d376f7c + 32ae5cc commit 5c09dd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openpype/tools/pyblish_pype/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ def load_plugins(self):

plugins = pyblish.api.discover()

targets = pyblish.logic.registered_targets() or ["default"]
targets = set(pyblish.logic.registered_targets())
targets.add("default")
targets = list(targets)
plugins_by_targets = pyblish.logic.plugins_by_targets(plugins, targets)

_plugins = []
Expand Down

0 comments on commit 5c09dd2

Please sign in to comment.