File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,18 @@ def do_GET(self) -> None:
3535 self .send_response (200 )
3636 self .send_header ("Content-type" , "text/plain" )
3737 self .end_headers ()
38- self .wfile .write ("Authentication successful! You may close this window and return to the terminal." )
38+ self .wfile .write (b "Authentication successful! You may close this window and return to the terminal." )
3939 print ("Authentication successful!" )
4040 print (f"Access Token: { access_token } " )
4141 self .server .shutdown () # Stop the server after successful auth
4242 else :
4343 self .send_response (400 )
4444 self .end_headers ()
45- self .wfile .write ("Invalid request" )
45+ self .wfile .write (b "Invalid request" )
4646 else :
4747 self .send_response (404 )
4848 self .end_headers ()
49- self .wfile .write ("Not Found" )
49+ self .wfile .write (b "Not Found" )
5050
5151
5252class AuthManager :
You can’t perform that action at this time.
0 commit comments