Update lcb_modal_endpoint.py

This commit is contained in:
crStiv 2026-01-15 16:00:03 +02:00 committed by GitHub
parent 9f6681be95
commit d2fbe43e7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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