mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
fix linter
This commit is contained in:
parent
90754fb0b8
commit
d3c2dc57d8
2 changed files with 6 additions and 2 deletions
|
|
@ -43,7 +43,11 @@ def create_placeholder():
|
|||
placeholder = cmds.spaceLocator(name=placeholder_name)[0]
|
||||
|
||||
# get the long name of the placeholder (with the groups)
|
||||
placeholder_full_name = cmds.ls(selection[0], long=True)[0] + '|' + placeholder.replace('|', '')
|
||||
placeholder_full_name = cmds.ls(
|
||||
selection[0],
|
||||
long=True)[0] + '|' + placeholder.replace('|',
|
||||
''
|
||||
)
|
||||
|
||||
if selection:
|
||||
cmds.parent(placeholder, selection[0])
|
||||
|
|
|
|||
|
|
@ -32,4 +32,4 @@ class TemplateAlreadyImported(Exception):
|
|||
|
||||
class TemplateLoadingFailed(Exception):
|
||||
"""Error raised whend Template loader was unable to load the template"""
|
||||
pass
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue