mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
label has IP adress of server
This commit is contained in:
parent
49f9dbf418
commit
e9c4ec7fee
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import os
|
||||
import sys
|
||||
import json
|
||||
import time
|
||||
import threading
|
||||
import signal
|
||||
import socket
|
||||
|
|
@ -19,9 +18,10 @@ log = Logger().get_logger("Event storer")
|
|||
action_identifier = (
|
||||
"event.server.status" + os.environ["FTRACK_EVENT_SUB_ID"]
|
||||
)
|
||||
host_ip = socket.gethostbyname(socket.gethostname())
|
||||
action_data = {
|
||||
"label": "Pype Admin",
|
||||
"variant": "- Event server Status",
|
||||
"variant": "- Event server Status ({})".format(host_ip),
|
||||
"description": "Get Infromation about event server",
|
||||
"actionIdentifier": action_identifier,
|
||||
"icon": None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue