Fixed #113
This commit is contained in:
parent
c6f4bb714a
commit
cfdcc038db
1 changed files with 3 additions and 2 deletions
|
@ -77,7 +77,8 @@ def make_micro(stats, issues):
|
||||||
def get_issue_num(issues, user):
|
def get_issue_num(issues, user):
|
||||||
numOfIssues = 0
|
numOfIssues = 0
|
||||||
for issue in issues:
|
for issue in issues:
|
||||||
if issue['user']['login'] == user:
|
if issue['assignee']:
|
||||||
|
if issue['assignee']['login'] == user:
|
||||||
numOfIssues += 1
|
numOfIssues += 1
|
||||||
return numOfIssues
|
return numOfIssues
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue