changed icon loading in ftrack actions

This commit is contained in:
Jakub Trllo 2019-04-19 20:58:04 +02:00
parent fce4cf0f17
commit e88b661230
17 changed files with 47 additions and 46 deletions

View file

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