summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-12-14 15:13:54 -0500
committerPeter LaFosse <peter@vector35.com>2017-12-14 15:13:54 -0500
commit565dd968745465d3ab939303056431bf9fa2f924 (patch)
treeeeb501413c808b85431aa2951bc34af07f036483 /python
parentfc96aa9e5058a0b064bbdeb20e85e951eb2b7703 (diff)
Fix multi-line execution in python console
Diffstat (limited to 'python')
-rw-r--r--python/scriptingprovider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/scriptingprovider.py b/python/scriptingprovider.py
index f9758cc9..8645c96c 100644
--- a/python/scriptingprovider.py
+++ b/python/scriptingprovider.py
@@ -547,7 +547,7 @@ class PythonScriptingInstance(ScriptingInstance):
self.locals["current_llil"] = self.active_func.low_level_il
self.locals["current_mlil"] = self.active_func.medium_level_il
- self.interpreter.runsource(code)
+ self.interpreter.runcode(code)
if self.locals["here"] != self.active_addr:
if not self.active_view.file.navigate(self.active_view.file.view, self.locals["here"]):