shortcuts

This commit is contained in:
Sander Land committed 2020-10-17 11:13:51 +02:00
1 parent a5ce5e4be2
commit fe0aca2069
2 files changed
+17 -14

No files matched your search

+1 -3
View File
@@ -430,9 +430,7 @@ def generate_ai_move(game: Game, ai_mode: str, ai_settings: Dict) -> Tuple[Move,
ai_thoughts += f"{ai_mode} strategy. Top 5 Candidates {', '.join(cands)} "
aimove = moves_with_settledness[0][0]
else:
raise(
Exception("No moves found - are you using an older KataGo with no per-move ownership info?")
)
raise (Exception("No moves found - are you using an older KataGo with no per-move ownership info?"))
else:
if ai_mode not in [AI_DEFAULT, AI_HANDICAP]:
game.katrain.log(f"Unknown AI mode {ai_mode} or policy missing, using default.", OUTPUT_INFO)