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
1 changed files with 3 additions and 0 deletions

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)