Skip to content

Commit

Permalink
Merge pull request #1098 from deepyaman/patch-1
Browse files Browse the repository at this point in the history
Update default time control from UNKNOW to UNKNOWN
  • Loading branch information
niklasf authored Jul 27, 2024
2 parents 247d8a0 + c7199a6 commit 32253d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chess/pgn.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class SkipType(enum.Enum):


class TimeControlType(enum.Enum):
UNKNOW = 0
UNKNOWN = 0
UNLIMITED = 1
STANDARD = 2
RAPID = 3
Expand Down Expand Up @@ -172,7 +172,7 @@ class TimeControl:
"""

parts: list[TimeControlPart] = dataclasses.field(default_factory=list)
type: TimeControlType = TimeControlType.UNKNOW
type: TimeControlType = TimeControlType.UNKNOWN


class _AcceptFrame:
Expand Down

0 comments on commit 32253d6

Please sign in to comment.