Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Apr 6, 2023
1 parent 73ba97e commit 4ea3da5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/generate-first-issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@

# Add labels as tags
tags = set([x["name"] for x in issue["labels"]])
tags.remove(ISSUE_LABEL)
if ISSUE_LABEL in tags:
tags.remove(ISSUE_LABEL)
tags = list(tags)

if extra_tags:
Expand All @@ -86,7 +87,7 @@
content += "tags: %s\n" % (",".join(tags))

# Title must have quotes escaped
content += 'title: %s\n' % json.dumps(issue["title"])
content += "title: %s\n" % json.dumps(issue["title"])
content += 'html_url: "%s"\n' % issue["html_url"]
content += "user: %s\n" % (issue["user"]["login"])
content += "repo: %s\n" % repo
Expand Down

0 comments on commit 4ea3da5

Please sign in to comment.