diff options
author | 2023-03-16 01:17:59 -0400 | |
---|---|---|
committer | 2023-03-16 01:17:59 -0400 | |
commit | de1327dd6a497d488ef500c23ae4684792b24c19 (patch) | |
tree | e56cfb20ac885c4aa3872575a1d15a69f795ca50 | |
parent | Add unit tests for time_limit (diff) |
Update type hint for `files_timeout` to be `int` to be compatible with `timed.time_limit`
-rw-r--r-- | snekbox/nsjail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snekbox/nsjail.py b/snekbox/nsjail.py index b6616a4..f64830a 100644 --- a/snekbox/nsjail.py +++ b/snekbox/nsjail.py @@ -56,7 +56,7 @@ class NsJail: memfs_home: str = "home", memfs_output: str = "home", files_limit: int | None = 100, - files_timeout: float | None = 5, + files_timeout: int | None = 5, files_pattern: str = "**/[!_]*", ): """ |