mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
Update lcb_modal_endpoint.py
This commit is contained in:
parent
9f6681be95
commit
d2fbe43e7e
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ class TimeoutException(Exception):
|
|||
|
||||
|
||||
def timeout_handler(signum, frame):
|
||||
print("timeout occured: alarm went off")
|
||||
print("timeout occurred: alarm went off")
|
||||
raise TimeoutException
|
||||
|
||||
|
||||
|
|
@ -227,7 +227,7 @@ def compile_code(code: str, timeout: int):
|
|||
# else condition allows future extensibility to other platforms
|
||||
compiled_sol = tmp_sol.Solution()
|
||||
else:
|
||||
# do nothing in the other case since function is accesible
|
||||
# do nothing in the other case since function is accessible
|
||||
compiled_sol = tmp_sol
|
||||
|
||||
assert compiled_sol is not None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue