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))