hound fixes

This commit is contained in:
iLLiCiTiT 2020-11-10 13:21:17 +01:00
parent 79cf878363
commit f591d76367

View file

@ -45,9 +45,9 @@ class AppendCelactionAudio(pyblish.api.ContextPlugin):
def get_subsets(
self,
asset_name,
representations,
regex_filter=None,
version=None,
representations=["exr", "dpx"]
version=None
):
"""
Query subsets with filter on name.
@ -99,7 +99,9 @@ class AppendCelactionAudio(pyblish.api.ContextPlugin):
sort=[("name", -1)]
)
else:
assert isinstance(version, int), "version needs to be `int` type"
assert isinstance(version, int), (
"version needs to be `int` type"
)
version_sel = io.find_one({
"type": "version",
"parent": subset["_id"],