From 1c357c91192fd1694ed2e2fb6adad12773dcafbd Mon Sep 17 00:00:00 2001 From: chaosbot Date: Thu, 1 Jun 2017 11:37:29 -0700 Subject: [PATCH] hotfix, undefined var --- github_api/repos.py | 1 + 1 file changed, 1 insertion(+) diff --git a/github_api/repos.py b/github_api/repos.py index aa5bf304..ad6ac3c1 100644 --- a/github_api/repos.py +++ b/github_api/repos.py @@ -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: