summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/runscript.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/runscript.py')
-rw-r--r--Lib/idlelib/runscript.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/runscript.py b/Lib/idlelib/runscript.py
index de73bf8..e99d0d2 100644
--- a/Lib/idlelib/runscript.py
+++ b/Lib/idlelib/runscript.py
@@ -147,8 +147,7 @@ class ScriptBinding:
interp = self.shell.interp
if pyshell.use_subprocess and restart:
interp.restart_subprocess(
- with_cwd=False, filename=
- self.editwin._filename_to_unicode(filename))
+ with_cwd=False, filename=filename)
dirname = os.path.dirname(filename)
argv = [filename]
if self.cli_args: