Skip to content

Commit 0663979

Browse files
authored
Merge pull request #3439 from Qlogin/fix_profiler
Fix profiler
2 parents 069c5f2 + 1e964fc commit 0663979

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: spyder_profiler/widgets/profilergui.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
set_item_user_text)
3737
from spyder.utils.programs import shell_split
3838
from spyder.widgets.comboboxes import PythonModulesComboBox
39-
from spyder.widgets.externalshell import baseshell
39+
from spyder.utils.misc import add_pathlist_to_PYTHONPATH
4040
from spyder.widgets.variableexplorer.texteditor import TextEditor
4141

4242
# This is needed for testing this module as a stand alone script
@@ -263,7 +263,7 @@ def start(self, wdir=None, args=None, pythonpath=None):
263263
if pythonpath is not None:
264264
env = [to_text_string(_pth)
265265
for _pth in self.process.systemEnvironment()]
266-
baseshell.add_pathlist_to_PYTHONPATH(env, pythonpath)
266+
add_pathlist_to_PYTHONPATH(env, pythonpath)
267267
processEnvironment = QProcessEnvironment()
268268
for envItem in env:
269269
envName, separator, envValue = envItem.partition('=')

0 commit comments

Comments
 (0)