From: Karim Hamidou Date: Mon, 11 Dec 2017 02:56:45 +0000 (-0800) Subject: Woohoo Python X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=88e751bcc97d005a411f0b9e5e4adc8c3f739836;p=minival.git Woohoo Python --- diff --git a/web.py b/web.py index 0c4f2ee..6c094b2 100644 --- a/web.py +++ b/web.py @@ -31,7 +31,7 @@ def execute_in_sandbox(code): os.close(tmp_fd) with open(tmp_filename, 'w+') as fd: - fd.write('import prctl ; prctl.set_seccomp(True)') + fd.write('import prctl ; prctl.set_seccomp(True)\n') fd.write(code) read_pipe, write_pipe = os.pipe()