This commit is contained in:
Ondrej Samohel 2022-02-08 16:30:13 +01:00
parent f9472ab309
commit 67ac956512
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

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