diff options
author | 2022-11-16 19:15:54 -0500 | |
---|---|---|
committer | 2022-11-16 19:15:54 -0500 | |
commit | 6ecfa8f1465a8b9400a445885c8157bfdd4b2900 (patch) | |
tree | 08b4e2328902ba000c28519b2704399d9cad2702 | |
parent | Sort attachments by name (diff) |
Remove default of "-c" in API
-rw-r--r-- | snekbox/api/resources/eval.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snekbox/api/resources/eval.py b/snekbox/api/resources/eval.py index 1e1cc8b..7e57e5b 100644 --- a/snekbox/api/resources/eval.py +++ b/snekbox/api/resources/eval.py @@ -74,7 +74,7 @@ class EvalResource: Unsupported content type; only application/JSON is supported """ code = req.media["input"] - args = req.media.get("args", ("-c",)) + args = req.media.get("args", ("",)) try: result = self.nsjail.python3(code, py_args=args) |