non-fox fix
This commit is contained in:
1 parent
341d016348
commit
ef24fd3bf2
1 file changed
+1
-1
@@ -334,7 +334,7 @@ class SGF:
|
|||||||
clipped_str = match.group() if match else input_str
|
clipped_str = match.group() if match else input_str
|
||||||
root = cls(clipped_str).root
|
root = cls(clipped_str).root
|
||||||
# Fix weird FoxGo server KM values
|
# Fix weird FoxGo server KM values
|
||||||
if "foxwq" in root.get_list_property("AP"):
|
if "foxwq" in root.get_list_property("AP",[]):
|
||||||
if int(root.get_property("HA", 0)) >= 1:
|
if int(root.get_property("HA", 0)) >= 1:
|
||||||
corrected_komi = 0.5
|
corrected_komi = 0.5
|
||||||
elif root.get_property("RU").lower() in ["chinese", "cn"]:
|
elif root.get_property("RU").lower() in ["chinese", "cn"]:
|
||||||
|
|||||||
Reference in new issue
Block a user