Skip to content

Commit 32253d6

Browse files
authored
Merge pull request #1098 from deepyaman/patch-1
Update default time control from UNKNOW to UNKNOWN
2 parents 247d8a0 + c7199a6 commit 32253d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chess/pgn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class SkipType(enum.Enum):
143143

144144

145145
class TimeControlType(enum.Enum):
146-
UNKNOW = 0
146+
UNKNOWN = 0
147147
UNLIMITED = 1
148148
STANDARD = 2
149149
RAPID = 3
@@ -172,7 +172,7 @@ class TimeControl:
172172
"""
173173

174174
parts: list[TimeControlPart] = dataclasses.field(default_factory=list)
175-
type: TimeControlType = TimeControlType.UNKNOW
175+
type: TimeControlType = TimeControlType.UNKNOWN
176176

177177

178178
class _AcceptFrame:

0 commit comments

Comments
 (0)