diff --git a/black.py b/black.py index 29d0367..dda6f9c 100644 --- a/black.py +++ b/black.py @@ -7,20 +7,20 @@ black_list = [ "Check": 38, "Point": [ { - "x": 100, - "y": 100 + "X": 100, + "Y": 100 }, { - "x": 100, - "y": 100 + "X": 100, + "Y": 100 }, { - "x": 100, - "y": 100 + "X": 100, + "Y": 100 }, { - "x": 100, - "y": 100 + "X": 100, + "Y": 100 } ] } diff --git a/main.py b/main.py index 98c90cc..69c4f3c 100644 --- a/main.py +++ b/main.py @@ -46,8 +46,8 @@ def handle_client(client_socket): client_socket.close() return Point = data["Point"] - x = Point[0]["x"] - y = Point[0]["y"] + x = Point[0]["X"] + y = Point[0]["Y"] print(x, y) click_it(x, y) except Exception as e: