Skip to content

Commit

Permalink
Repair --demo
Browse files Browse the repository at this point in the history
It wasn't taking default targets into account, since 1.11.1
  • Loading branch information
mottosso committed Mar 9, 2020
1 parent f59b1ab commit 835bf3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyblish_qml/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import argparse

from . import app
from pyblish import api


def cli():
Expand All @@ -18,8 +19,9 @@ def cli():
)

kwargs = parser.parse_args()

if kwargs.targets is None:
kwargs.targets = []
kwargs.targets = ["default"] + api.registered_targets()

return app.main(**kwargs.__dict__)

Expand Down
2 changes: 1 addition & 1 deletion pyblish_qml/version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

VERSION_MAJOR = 1
VERSION_MINOR = 11
VERSION_PATCH = 1
VERSION_PATCH = 2

version_info = (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
version = '%i.%i.%i' % version_info
Expand Down

0 comments on commit 835bf3b

Please sign in to comment.