Skip to content

Commit

Permalink
Fix typo for summarize sgfs
Browse files Browse the repository at this point in the history
  • Loading branch information
lightvector committed Dec 9, 2023
1 parent 0854c71 commit 2ea1ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/summarize_sgfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_game_records(self, input_file: str) -> List[GameRecord]:
records.append(self.sgf_string_to_game_record(sgf, input_file))
return records
else:
with open(sgf_file_name, "rb") as f:
with open(input_file, "rb") as f:
sgf = f.read()

return [self.sgf_string_to_game_record(sgf, input_file)]
Expand Down

0 comments on commit 2ea1ffa

Please sign in to comment.