Revert x y
This commit is contained in:
parent
16930a2770
commit
74ad0ad523
5
main.py
5
main.py
@ -63,8 +63,9 @@ class RequestHandler(BaseHTTPRequestHandler):
|
||||
body = self.rfile.read(content_length)
|
||||
params = parse_qs(body.decode('utf-8'))
|
||||
|
||||
y = int(params['y'][0])
|
||||
x = int(params['x'][0])
|
||||
#Revert xy, never mind
|
||||
x = int(params['y'][0])
|
||||
y = int(params['x'][0])
|
||||
color = params['color'][0]
|
||||
|
||||
matrix = self.get_matrix()
|
||||
|
Loading…
Reference in New Issue
Block a user