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

Commit

Permalink
make sure targets contain default target
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Nov 10, 2021
1 parent 042d80d commit 32ae5cc
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 32ae5cc

Please sign in to comment.