Merge branch 'v1.4.1x' of github.com:sanderland/katrain into v1.4.1x

This commit is contained in:
Sander Land committed 2020-09-01 10:15:54 +02:00
commit 5c1b5e6c6a
7 files changed
+12 -17

No files matched your search

+1 -1
View File
@@ -334,7 +334,7 @@ class SGF:
clipped_str = match.group() if match else input_str
root = cls(clipped_str).root
# 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:
corrected_komi = 0.5
elif root.get_property("RU").lower() in ["chinese", "cn"]: