fix: update
This commit is contained in:
@@ -33,8 +33,10 @@ class Task(socketserver.BaseRequestHandler):
|
||||
C0, C1, C2, C3, C4, C5, C6 = chests
|
||||
r = eval(expr)
|
||||
except Exception as e:
|
||||
self.send(b"Shannon fails to understand your words.\n")
|
||||
self.send(e)
|
||||
self.send(b"Shannon fails to understand your words.\n")
|
||||
print(f"Exception: {e}") # Debug print
|
||||
print(f"Failed expression: {expr}") # Debug print
|
||||
exit(0)
|
||||
return ans(r)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user