Skip to content

Commit ac7e768

Browse files
committed
BF: matlab only opened if executable is available
1 parent 08ccc9c commit ac7e768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymatbridge/pymatbridge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def start(self):
213213
self.logger.info("Starting ZMQ socket %s", self.socket_addr)
214214
#self.logger.info("Run _Session.stop/separate to kill the server.")
215215

216-
if self.executable is not None:
216+
if self.executable:
217217
self.logger.info("Launching %s, sending ZMQ 'exit' will kill it.", \
218218
self._program_name())
219219
self._run_server()

0 commit comments

Comments
 (0)