diff options
| author | 2019-05-17 10:28:18 +0100 | |
|---|---|---|
| committer | 2019-05-17 10:28:18 +0100 | |
| commit | 5513cc3a8015bc516cba797daef100783cdb145f (patch) | |
| tree | 93871b30bb85a6d88bbf304b0f36d7b9ba09bf09 | |
| parent | Actually 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__.py | 2 |
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" |
