Fixed #113
This commit is contained in:
parent
c6f4bb714a
commit
cfdcc038db
1 changed files with 3 additions and 2 deletions
|
@ -77,8 +77,9 @@ 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']:
|
||||||
numOfIssues += 1
|
if issue['assignee']['login'] == user:
|
||||||
|
numOfIssues += 1
|
||||||
return numOfIssues
|
return numOfIssues
|
||||||
|
|
||||||
def get_github_data(repo_url, project_id):
|
def get_github_data(repo_url, project_id):
|
||||||
|
|
Loading…
Reference in a new issue