mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
changed icon loading in ftrack actions
This commit is contained in:
parent
fce4cf0f17
commit
e88b661230
17 changed files with 47 additions and 46 deletions
|
|
@ -35,7 +35,8 @@ def registerApp(app, session):
|
|||
label = apptoml.get('ftrack_label', app.get('label', name))
|
||||
icon = apptoml.get('ftrack_icon', None)
|
||||
description = apptoml.get('description', None)
|
||||
|
||||
if icon:
|
||||
icon = icon.format(os.environ.get('PYPE_STATICS_SERVER', ''))
|
||||
# register action
|
||||
AppAction(
|
||||
session, label, name, executable, variant, icon, description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue