removed icon attribute

This commit is contained in:
iLLiCiTiT 2020-09-03 11:01:09 +02:00
parent 286d57c251
commit f71aad40e0

View file

@ -12,7 +12,7 @@ from pype.modules.ftrack.ftrack_server.lib import (
SocketSession, StatusEventHub, SocketSession, StatusEventHub,
TOPIC_STATUS_SERVER, TOPIC_STATUS_SERVER_RESULT TOPIC_STATUS_SERVER, TOPIC_STATUS_SERVER_RESULT
) )
from pype.api import Logger, config from pype.api import Logger
log = Logger().get_logger("Event storer") log = Logger().get_logger("Event storer")
action_identifier = ( action_identifier = (
@ -23,17 +23,7 @@ action_data = {
"label": "Pype Admin", "label": "Pype Admin",
"variant": "- Event server Status ({})".format(host_ip), "variant": "- Event server Status ({})".format(host_ip),
"description": "Get Infromation about event server", "description": "Get Infromation about event server",
"actionIdentifier": action_identifier, "actionIdentifier": action_identifier
"icon": "{}/ftrack/action_icons/PypeAdmin.svg".format(
os.environ.get(
"PYPE_STATICS_SERVER",
"http://localhost:{}".format(
config.get_presets().get("services", {}).get(
"rest_api", {}
).get("default_port", 8021)
)
)
)
} }