mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Update client/ayon_core/pipeline/publish/lib.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
d313740434
commit
44e32c5bfe
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ def get_plugin_settings(plugin, project_settings, log, category=None):
|
|||
# Settings category determined from path
|
||||
# - usually path is './<category>/plugins/publish/<plugin file>'
|
||||
# - category can be host name of addon name ('maya', 'deadline', ...)
|
||||
filepath = os.path.normpath(inspect.getfile(plugin.__class__))
|
||||
filepath = os.path.normpath(inspect.getfile(plugin))
|
||||
|
||||
split_path = filepath.rsplit(os.path.sep, 5)
|
||||
if len(split_path) < 4:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue