diff --git a/server.py b/server.py index 4af5f77..a168dbb 100644 --- a/server.py +++ b/server.py @@ -30,8 +30,10 @@ class RequestHandler(BaseHTTPRequestHandler): params = parse_qs(self.path[1:]) ic(params) if 'get_color' in params: - xys = unpack(params['get_color'][0]) - ic(xys) + params = params['get_color'][0] + ic(len(params)) + xys = unpack(params) + ic.disable() matrix = self.get_matrix() colors = [] for i in xys: