Skip to content

Commit

Permalink
Fix the get guard
Browse files Browse the repository at this point in the history
  • Loading branch information
meeech committed Jun 22, 2023
1 parent 1ebe42d commit fcf8902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/http_rest_client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class HttpHandler(BaseHTTPRequestHandler):
def do_GET(self):
path, args = self.parse_url()

if path == 'name' in args:
if 'name' in args:
name = args['name'][0]

self.write_response(200, "text/plain", f"Hello, {name}!")
Expand Down

0 comments on commit fcf8902

Please sign in to comment.