use ProcessTVPaintCommands in worker

This commit is contained in:
iLLiCiTiT 2021-11-05 19:10:25 +01:00
parent 067f148d8c
commit 27009cb54f

View file

@ -2,7 +2,7 @@ import signal
import time
import asyncio
from openpype.hosts.tvpaint.worker import TVPaintCommands
from openpype.hosts.tvpaint.worker import ProcessTVPaintCommands
from avalon.tvpaint.communication_server import (
BaseCommunicator,
CommunicationWrapper
@ -69,7 +69,7 @@ class WorkerCommunicator(BaseCommunicator):
job_data = job["data"]
workfile = job_data["workfile"]
if job_data.get("function") == "commands":
commands = TVPaintCommands(
commands = ProcessTVPaintCommands(
workfile, job_data["commands"], self
)
commands.execute()