Fix Ruff UP012 (unnecessary-encode-utf8)

https://docs.astral.sh/ruff/rules/unnecessary-encode-utf8/
This commit is contained in:
Andrej
2025-05-28 16:18:02 +05:00
parent c838139fdc
commit 62a0c258b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class OAuthReceiver(http.server.BaseHTTPRequestHandler):
self.send_response(200)
self.send_header("Content-type", "text/plain")
self.end_headers()
self.wfile.write("You have now authenticated :) You may now close this browser window.".encode("utf-8"))
self.wfile.write(b"You have now authenticated :) You may now close this browser window.")
class FoundationClient: