Skip to content

Commit f79fa92

Browse files
committed
github: fix embarrassing bug
1 parent 30fe182 commit f79fa92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def assignees(self):
5151

5252
class GitHubIssues:
5353

54-
def __init__(self, items=[], token=None):
54+
def __init__(self, items=None, token=None):
5555
self._token = token
56-
self._items = items
56+
self._items = [] if items is None else items
5757
self._delay_per_request = 5
5858
self._max_requests = 100
5959

0 commit comments

Comments
 (0)