mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
minor style/import fixes
This commit is contained in:
parent
190c499648
commit
6645be26ef
2 changed files with 1 additions and 3 deletions
|
|
@ -81,6 +81,7 @@ IMAGE_PREFIXES = {
|
|||
|
||||
RENDERMAN_IMAGE_DIR = "maya/<scene>/<layer>"
|
||||
|
||||
|
||||
def has_tokens(string, tokens):
|
||||
"""Return whether any of tokens is in input string (case-insensitive)"""
|
||||
pattern = "({})".format("|".join(re.escape(token) for token in tokens))
|
||||
|
|
|
|||
|
|
@ -2,11 +2,9 @@
|
|||
"""Create ``Render`` instance in Maya."""
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
import appdirs
|
||||
import requests
|
||||
import six
|
||||
|
||||
from maya import cmds
|
||||
from maya.app.renderSetup.model import renderSetup
|
||||
|
|
@ -21,7 +19,6 @@ from openpype.hosts.maya.api import (
|
|||
lib_rendersettings,
|
||||
plugin
|
||||
)
|
||||
from openpype.modules import ModulesManager
|
||||
|
||||
|
||||
class CreateRender(plugin.Creator):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue