From c6cf6db7567fe85ed616c864c040e34e447324f4 Mon Sep 17 00:00:00 2001 From: s3lph Date: Mon, 3 Oct 2022 16:20:41 +0200 Subject: [PATCH] fix scoring parser --- webgames/go.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webgames/go.py b/webgames/go.py index e47421e..ca5b521 100644 --- a/webgames/go.py +++ b/webgames/go.py @@ -150,7 +150,7 @@ Press Play! to play against GNU Go or invite a second player. vertices = ret.replace('\n', ' ').split(' ') for vertex in vertices: vertex = vertex.strip() - if len(vertex) < 2, 3: + if len(vertex) < 2: continue x = vertex[0] y = vertex[1:]