Skip to content
Permalink
Browse files

Use exec file for python console

  • Loading branch information
NathanW2 committed Jul 13, 2013
1 parent 58afc99 commit e394cfb4fd88e26c5b133d0a745012e59b1624a9
Showing with 2 additions and 3 deletions.
  1. +2 −3 python/console/console_editor.py
@@ -567,9 +567,8 @@ def runScriptCode(self):
if self.syntaxCheck(fromContextMenu=False):
if autoSave:
tmpFile = self.createTempFile()
self._runSubProcess(tmpFile, True)
else:
self._runSubProcess(filename)
filename = tmpFile
self.parent.pc.shell.runCommand("execfile(r'{0}')".format(filename))

def runSelectedCode(self):
cmd = self.selectedText()

0 comments on commit e394cfb

Please sign in to comment.
You can’t perform that action at this time.