From f840f8e58e635d89ba810ffa08cb0f81d4925f79 Mon Sep 17 00:00:00 2001 From: Mark Harrison Date: Sun, 21 Apr 2024 19:27:56 -0700 Subject: [PATCH] Revert unneeded code change --- chess/pgn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chess/pgn.py b/chess/pgn.py index 6ff13fd7..e462a075 100644 --- a/chess/pgn.py +++ b/chess/pgn.py @@ -705,7 +705,7 @@ def emt(self) -> Optional[float]: Returns the player's elapsed move time use for the comment of this move, in seconds. """ - match = EMT_REGEX.search(" ".join(self.comments)) + match = EMT_REGEX.search(self.comment) if match is None: return None return int(match.group("hours")) * 3600 + int(match.group("minutes")) * 60 + float(match.group("seconds"))