sgf comments
This commit is contained in:
1 parent
1da48bada7
commit
dc420f366f
2 files changed
+5
-2
No files matched your search
+3
-2
@@ -1,7 +1,8 @@
|
||||
# Contributing
|
||||
|
||||
If you are a new contributor, please first discuss the change you wish to make via
|
||||
an issue, reddit or discord before making a change.
|
||||
If you are a new contributor wanting to make a larger contribution,
|
||||
please first discuss the change you wish to make via
|
||||
an issue, reddit or discord before making a pull request.
|
||||
|
||||
## Python contributions
|
||||
|
||||
|
||||
@@ -193,6 +193,8 @@ class GameNode(SGFNode):
|
||||
text += "\n" + i18n._("Info:AI thoughts").format(thoughts=self.ai_thoughts)
|
||||
else:
|
||||
text = i18n._("No analysis available") if sgf else i18n._("Analyzing move...")
|
||||
if "C" in self.properties:
|
||||
text += "\n[u]SGF Comments:[/u]\n" + "\n".join(self.properties["C"])
|
||||
return text
|
||||
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user