mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
fix faulty logic
This commit is contained in:
parent
7025f0b7e0
commit
8113d7419f
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import pyblish.api
|
||||
|
||||
import os
|
||||
from ayon_core.pipeline import AYONPyblishPluginMixin
|
||||
|
||||
|
||||
|
|
@ -85,6 +85,6 @@ class CollectStagingDirsForCleaningUp(pyblish.api.InstancePlugin,
|
|||
if not filepath:
|
||||
self.log.warning("No filepath value to collect.")
|
||||
return
|
||||
|
||||
filepath = os.path.dirname(filepath)
|
||||
self.log.debug("Add to clean up list: {}".format(filepath))
|
||||
instance.context.data["cleanupFullPaths"] = filepath
|
||||
instance.context.data["cleanupFullPaths"].append(filepath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue