Skip to content

Commit

Permalink
Remove unnecessary changes for filename
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainCorlay committed Jun 13, 2015
1 parent 5e31976 commit 651397b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spyderlib/plugins/ipythonconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,8 +1058,6 @@ def _create_client_for_kernel(self, cf, hostname, kf, pw):
# Verifying if the connection file exists
cf = osp.basename(cf)
try:
if not cf.startswith('kernel') and not cf.endswith('json'):
cf = to_text_string('kernel-' + cf + '.json')
find_connection_file(cf, profile='default')
except (IOError, UnboundLocalError):
QMessageBox.critical(self, _('IPython'),
Expand Down

0 comments on commit 651397b

Please sign in to comment.