From b969dedf99944de229cb9975ba56dac0a397234b Mon Sep 17 00:00:00 2001 From: rthouvenin Date: Sat, 3 Oct 2015 23:28:39 +0200 Subject: [PATCH] Fixes #2736 --- spyderplugins/p_profiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyderplugins/p_profiler.py b/spyderplugins/p_profiler.py index 3ce5a3c0e1d..17c798fdb93 100644 --- a/spyderplugins/p_profiler.py +++ b/spyderplugins/p_profiler.py @@ -130,7 +130,7 @@ def analyze(self, filename): self.dockwidget.raise_() pythonpath = self.main.get_spyder_pythonpath() runconf = runconfig.get_run_configuration(filename) - wdir, args = None, None + wdir, args = None, [] if runconf is not None: if runconf.wdir_enabled: wdir = runconf.wdir