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 #974 from pypeclub/feature/ftrack_plugins_in_module
Browse files Browse the repository at this point in the history
Ftrack plugins in ftrack module
  • Loading branch information
mkolar authored Feb 4, 2021
2 parents a1a203d + 8d80324 commit 48e72b6
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pype/modules/ftrack/ftrack_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_global_environments(self):
def get_plugin_paths(self):
"""Ftrack plugin paths."""
return {
"publish": [os.path.join(pype.PLUGINS_DIR, "ftrack", "publish")]
"publish": [os.path.join(FTRACK_MODULE_DIR, "plugins", "publish")]
}

def get_launch_hook_paths(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def process(self, instance):
"Missing FTrack Task entity in context")

host = pyblish.api.current_host()
to_check = self.ftrack_custom_attributes.get(host, {}))
to_check = self.ftrack_custom_attributes.get(host, {})

if not to_check:
self.log.warning("ftrack_attributes preset not found")
Expand Down

0 comments on commit 48e72b6

Please sign in to comment.