mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 15:29:14 +02:00
final fix
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ class Handler(BaseHTTPRequestHandler):
|
||||
if self.path == "/":
|
||||
rdata = repr(data["playlist"]).encode()
|
||||
self.send_response(200)
|
||||
self.send_header("Content-Length", str(len(data["playlist"])))
|
||||
self.send_header("Content-Length", str(len(rdata)))
|
||||
self.end_headers()
|
||||
self.wfile.write(rdata)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user