nga-python: fix a bug in include

FossilOrigin-Name: 90df732d68816e90c2767c398a07d80c82a65188ca580e9aafbb11442e902ce8
This commit is contained in:
crc 2021-01-21 02:50:05 +00:00
parent aff0fb3c6e
commit 1052e8a83c

View file

@ -441,7 +441,7 @@ class Retro:
b = self.stack.pop()
self.stack.push(self.inject_string(sys.argv[a + 2], b))
if action == 2:
run_file(self.extract_string(self.stack.pop()))
self.run_file(self.extract_string(self.stack.pop()))
if action == 3:
b = self.stack.pop()
self.stack.push(self.inject_string(sys.argv[0], b))