We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c16a162 commit f543cc2Copy full SHA for f543cc2
main.py
@@ -25,7 +25,7 @@ def do_POST(self):
25
text = params.get("text", [None])[0]
26
number = params.get("number", [None])[0]
27
28
- if text is None or number is None or not number.isdigit():
+ if text is None or not number.isdigit():
29
self.send_response(400)
30
self.send_header("Content-type", "text/plain")
31
self.end_headers()
0 commit comments