Alt-7 uses runscript() to run scripts

This commit is contained in:
gergely.erdelyi
2010-02-04 20:44:37 +00:00
parent 5ec97ef3aa
commit e1298031ac
2 changed files with 2 additions and 15 deletions

View File

@@ -143,9 +143,7 @@ class ScriptBox(Choose):
n = self.choose()
if n > 0:
return self.list[n-1]
else:
return None
runscript(self.list[n-1])
def addscript(self, scriptpath):
self.list.append(scriptpath)