mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
removed icon attribute
This commit is contained in:
parent
286d57c251
commit
f71aad40e0
1 changed files with 2 additions and 12 deletions
|
|
@ -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)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue