minor style/import fixes

This commit is contained in:
Allan Ihsan 2022-05-02 13:34:49 +03:00
parent 190c499648
commit 6645be26ef
2 changed files with 1 additions and 3 deletions

View file

@ -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))

View file

@ -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):