1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-02 12:02:52 -05:00

[cleanup] Misc cleanup

This commit is contained in:
pukkandan
2022-05-16 19:36:36 +05:30
parent 5d5c0f7e99
commit 2414649192
22 changed files with 79 additions and 103 deletions

View File

@ -140,7 +140,7 @@ def _build_proxy_handler(name):
self.send_response(200)
self.send_header('Content-Type', 'text/plain; charset=utf-8')
self.end_headers()
self.wfile.write('{self.proxy_name}: {self.path}'.format(self=self).encode())
self.wfile.write(f'{self.proxy_name}: {self.path}'.encode())
return HTTPTestRequestHandler