Skip to content

Commit

Permalink
IPython Console: Fix creation of slave clients after PR #2484
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Jun 13, 2015
1 parent 8465f81 commit d151091
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spyderlib/plugins/ipythonconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,8 @@ def _create_client_for_kernel(self, cf, hostname, kf, pw):
master_name = None
slave_ord = ord('A') - 1
for cl in self.get_clients():
if cf == cl.connection_file:
if cf in cl.connection_file:
cf = cl.connection_file
if master_name is None:
master_name = cl.name.split('/')[0]
new_slave_ord = ord(cl.name.split('/')[1])
Expand Down

0 comments on commit d151091

Please sign in to comment.