Simplified indexing

This commit is contained in:
2-REC 2021-12-21 17:38:39 +07:00
parent c814e04691
commit 6d15256840

View file

@ -241,8 +241,8 @@ def filter_pyblish_plugins(plugins):
)
continue
host_from_file = split_path[-4:-3][0]
plugin_kind = split_path[-2:-1][0]
host_from_file = split_path[-4]
plugin_kind = split_path[-2]
# TODO: change after all plugins are moved one level up
if host_from_file == "openpype":