Skip to content

Commit

Permalink
Now when local root path cannot be retrieved we skip project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoveda committed Apr 29, 2021
1 parent 139ad30 commit d96fdb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions artella/dccs/maya/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ def setup_project(self, artella_local_root_path):
logger.warning('No Project Path to setup. Skipping setup project ...')
return

# This can happen when local root path cannot be retrieved from Artella Drive
if isinstance(artella_local_root_path, dict):
return

artella_local_root_path = utils.clean_path(artella_local_root_path)
if utils.is_python2():
artella_local_root_path = artella_local_root_path.decode('utf-8')
Expand Down

0 comments on commit d96fdb2

Please sign in to comment.