aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-17 10:28:18 +0100
committerGravatar jesopo2019-05-17 10:28:18 +0100
commit5513cc3a8015bc516cba797daef100783cdb145f (patch)
tree93871b30bb85a6d88bbf304b0f36d7b9ba09bf09
parentActually assume the provided "org" is the repo when repo isn't provided (diff)
signature
change REGEX_ISSUE to actually accept a repo name without org name
-rw-r--r--modules/github/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py
index 9c0a3f82..97d983b0 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -8,7 +8,7 @@ COLOR_NEUTRAL = utils.consts.LIGHTGREY
COLOR_NEGATIVE = utils.consts.RED
COLOR_ID = utils.consts.PINK
-REGEX_ISSUE = re.compile("(\S+/\S+)?#\d+")
+REGEX_ISSUE = re.compile("(?:\S+(?:\/\S+)?)?#\d+")
FORM_ENCODED = "application/x-www-form-urlencoded"