diff options
author | 2018-05-31 16:58:03 +0200 | |
---|---|---|
committer | 2018-05-31 16:58:03 +0200 | |
commit | fce689a3b4c27f3e554e0d573fb4f82f674526e3 (patch) | |
tree | 72a920c14297215b563f92bd0ef291ebc9219b0d /snekbox.py | |
parent | change testing user and password to guest (diff) |
update readme [ci skip]
Diffstat (limited to 'snekbox.py')
-rw-r--r-- | snekbox.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -9,7 +9,10 @@ from rmq import Rmq class Snekbox(object): - def __init__(self, nsjail_binary='nsjail', python_binary='/usr/local/bin/python3.6'): + def __init__(self, + nsjail_binary='nsjail', + python_binary='/usr/local/bin/python3.6'): + self.nsjail_binary = nsjail_binary self.python_binary = python_binary @@ -32,7 +35,8 @@ class Snekbox(object): '--time_limit', '2', '--disable_proc', '--iface_no_lo', - '--quiet', '--', self.python_binary, '-ISq', '-c', cmd] + '--quiet', '--', + self.python_binary, '-ISq', '-c', cmd] proc = subprocess.Popen(args, stdin=subprocess.PIPE, |