Skip to content

Commit 51071f5

Browse files
committed
fix: update command setter value type to include None
1 parent d774133 commit 51071f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bugmon/bug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def commands(self) -> Dict[str, Union[str, None]]:
195195
return commands
196196

197197
@commands.setter
198-
def commands(self, value: Dict[str, str]) -> None:
198+
def commands(self, value: Dict[str, Union[str, None]]) -> None:
199199
parts = ",".join([f"{k}={v}" if v is not None else k for k, v in value.items()])
200200
if len(parts) != 0:
201201
if re.search(r"(?<=\[bugmon:)([^]]*)", self._bug["whiteboard"]):

0 commit comments

Comments
 (0)