fix scoring parser

This commit is contained in:
s3lph 2022-10-03 16:20:41 +02:00
parent 89a7dcd5f2
commit c6cf6db756

View file

@ -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:]