From 651397b087a06632565b10f8b791e0775d8c1229 Mon Sep 17 00:00:00 2001 From: Sylvain Corlay Date: Fri, 12 Jun 2015 23:45:37 -0400 Subject: [PATCH] Remove unnecessary changes for filename --- spyderlib/plugins/ipythonconsole.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/spyderlib/plugins/ipythonconsole.py b/spyderlib/plugins/ipythonconsole.py index 9f9540105d8..9a2b4228d77 100644 --- a/spyderlib/plugins/ipythonconsole.py +++ b/spyderlib/plugins/ipythonconsole.py @@ -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'),