Skip to content

Commit

Permalink
fix: default value
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
  • Loading branch information
Dup4 committed May 19, 2024
1 parent 99bb9bb commit e065467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcpcio_board_spider/type/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self,
unofficial: bool = False,
girl: bool = False,
location: str = None,
group: typing.List[str] = [],
group: typing.List[str] = None,
extra: typing.Dict[str, typing.Any] = None):
self.team_id = team_id
self.name = name
Expand All @@ -30,7 +30,7 @@ def __init__(self,

self.location = location

self.group = group
self.group = group if group is not None else []
self.extra = extra if extra is not None else {}

def enable_group(self, group: str):
Expand Down

0 comments on commit e065467

Please sign in to comment.