From 818dc989ce4386f42797f9a7f07537b8ccc3e4a8 Mon Sep 17 00:00:00 2001 From: Le Bao Hiep Date: Thu, 2 Jan 2025 09:17:37 +0700 Subject: [PATCH] base_executor: fix get_security --- dmoj/executors/base_executor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dmoj/executors/base_executor.py b/dmoj/executors/base_executor.py index 77aef79ae..453122406 100644 --- a/dmoj/executors/base_executor.py +++ b/dmoj/executors/base_executor.py @@ -236,6 +236,7 @@ def _add_syscalls(self, sec: IsolateTracer, handlers: List[Union[str, Tuple[str, return sec def get_security(self, launch_kwargs=None, extra_fs=None) -> IsolateTracer: + launch_kwargs = {} if launch_kwargs is None else launch_kwargs read_fs = self.get_fs() if extra_fs: read_fs += extra_fs