From 67ac956512df8d1db36cbf145ba1a2d52bec5046 Mon Sep 17 00:00:00 2001 From: Ondrej Samohel Date: Tue, 8 Feb 2022 16:30:13 +0100 Subject: [PATCH] fix typo --- openpype/plugins/publish/cleanup_farm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpype/plugins/publish/cleanup_farm.py b/openpype/plugins/publish/cleanup_farm.py index 5e8f32dae9..ab0c6e469e 100644 --- a/openpype/plugins/publish/cleanup_farm.py +++ b/openpype/plugins/publish/cleanup_farm.py @@ -42,7 +42,7 @@ class CleanUpFarm(pyblish.api.ContextPlugin): dirpaths_to_remove.add(os.path.normpath(staging_dir)) if "representations" in instance.data: - for repre in instance.data["reresentations"]: + for repre in instance.data["representations"]: staging_dir = repre.get("stagingDir") if staging_dir: dirpaths_to_remove.add(os.path.normpath(staging_dir))