Skip to content

Commit

Permalink
Backport PR #22621: PR: Fix setting of working directory in Profiler …
Browse files Browse the repository at this point in the history
…plugin
  • Loading branch information
ccordoba12 authored and meeseeksmachine committed Oct 1, 2024
1 parent dc08cbd commit ccca23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/plugins/profiler/widgets/main_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def start(self, wdir=None, args=None):
if wdir is None:
wdir = self._last_wdir
if wdir is None:
wdir = osp.basename(filename)
wdir = osp.dirname(filename)

if args is None:
args = self._last_args
Expand Down

0 comments on commit ccca23a

Please sign in to comment.