Skip to content

Commit

Permalink
Fixed bug when trying to open files with special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoveda committed Feb 4, 2021
1 parent 4e6e4ee commit 8ca6162
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions artella/dccs/maya/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@

import maya.cmds as cmds
import maya.mel as mel
import maya.OpenMaya as OpenMaya

import artella
from artella import dcc
from artella.core.dcc import callback
from artella.core import consts, callbacks, plugins, dccplugin
from artella.core import consts, callbacks, plugins, dccplugin, utils
from artella.dccs.maya import utils as maya_utils

logger = logging.getLogger('artella')
Expand Down Expand Up @@ -190,7 +189,7 @@ def _before_open_check(self, maya_file, client_data=None):
:param dict client_data:
"""

file_path = maya_file.resolvedFullName()
file_path = utils.clean_path(maya_file.resolvedFullName())

if self.is_artella_path(file_path):

Expand Down

0 comments on commit 8ca6162

Please sign in to comment.