Apply suggestions from code review by @iLLiCiTiT

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Roy Nieterau 2023-10-04 20:30:45 +02:00 committed by GitHub
parent bf15868fc4
commit 05b487a435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,10 +43,7 @@ AVALON_CONTAINERS = ":AVALON_CONTAINERS"
class ResolveHost(HostBase, IWorkfileHost, ILoadHost):
name = "maya"
def __init__(self):
super(ResolveHost, self).__init__()
name = "resolve"
def install(self):
"""Install resolve-specific functionality of avalon-core.
@ -62,7 +59,7 @@ class ResolveHost(HostBase, IWorkfileHost, ILoadHost):
log.info("openpype.hosts.resolve installed")
pyblish.register_host("resolve")
pyblish.register_host(self.name)
pyblish.register_plugin_path(PUBLISH_PATH)
print("Registering DaVinci Resolve plug-ins..")