diff --git a/pype/plugins/tvpaint/publish/collect_workfile_data.py b/pype/plugins/tvpaint/publish/collect_workfile_data.py index e26e45a1e4..cf6113740c 100644 --- a/pype/plugins/tvpaint/publish/collect_workfile_data.py +++ b/pype/plugins/tvpaint/publish/collect_workfile_data.py @@ -26,7 +26,10 @@ class CollectWorkfileData(pyblish.api.ContextPlugin): workfile_context = pipeline.get_current_workfile_context() if workfile_context: # Change current context with context from workfile - key_map = (("AVALON_ASSET", "asset"), ("AVALON_TASK", "task")) + key_map = ( + ("AVALON_ASSET", "asset"), + ("AVALON_TASK", "task") + ) for env_key, key in key_map: avalon.api.Session[env_key] = workfile_context[key] os.environ[env_key] = workfile_context[key]