Skip to content

Commit

Permalink
Update default time control from UNKNOW to UNKNOWN
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman authored Jul 22, 2024
1 parent 247d8a0 commit c7199a6
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 c7199a6

Please sign in to comment.