forked from M-Labs/artiq
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):
|
async def start(self):
|
||||||
self.ipc = AppletIPCServer(self.datasets_sub)
|
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,
|
command = self.command.format(python=sys.executable,
|
||||||
ipc_address=self.ipc.get_address())
|
ipc_address=self.ipc.get_address())
|
||||||
logger.debug("starting command %s for %s", command, self.applet_name)
|
logger.debug("starting command %s for %s", command, self.applet_name)
|
||||||
|
|
Loading…
Reference in New Issue