2
0
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:
Sebastien Bourdeauducq 2016-02-08 22:39:20 +01:00
parent 338e5fe3fc
commit d1e54c86b1

View File

@ -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)