Skip to content

Commit

Permalink
hotfix, undefined var
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosbot committed Jun 1, 2017
1 parent fadb0bb commit 1c357c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions github_api/repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def create_label(api, urn, name, color="ededed"):
"name": name,
"color": color
}
resp = None
try:
resp = api("post", "/repos/{urn}/labels".format(urn=urn), json=data)
except:
Expand Down

0 comments on commit 1c357c9

Please sign in to comment.