mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
gui/applets: log warning if IPC address not in command
This commit is contained in:
parent
338e5fe3fc
commit
d1e54c86b1
@ -98,6 +98,9 @@ class AppletDock(dockarea.Dock):
|
||||
|
||||
async def start(self):
|
||||
self.ipc = AppletIPCServer(self.datasets_sub)
|
||||
if "{ipc_address}" not in self.command:
|
||||
logger.warning("IPC address missing from command for %s",
|
||||
self.applet_name)
|
||||
command = self.command.format(python=sys.executable,
|
||||
ipc_address=self.ipc.get_address())
|
||||
logger.debug("starting command %s for %s", command, self.applet_name)
|
||||
|
Loading…
Reference in New Issue
Block a user