diff --git a/openpype/modules/default_modules/job_queue/job_workers/tvpaint_worker.py b/openpype/modules/default_modules/job_queue/job_workers/tvpaint_worker.py index 463ec7cc99..b44325c1db 100644 --- a/openpype/modules/default_modules/job_queue/job_workers/tvpaint_worker.py +++ b/openpype/modules/default_modules/job_queue/job_workers/tvpaint_worker.py @@ -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()