attmpt 3 not liking Python 3 very much at the moment

This commit is contained in:
rocky4570fft 2016-10-07 00:18:39 +10:00
parent 7c3005e582
commit 5500cc3e6f

View File

@ -115,7 +115,7 @@ class LambdaFunction(object):
#print "moto_lambda_debug: ", mycode
sys.stdout = codeOut
sys.stderr = codeErr
exec mycode
exec(mycode)
exec_err = codeErr.getvalue()
exec_out = codeOut.getvalue()
result = "\n".join([exec_out, exec_err])