"unpacking a string is disallowed"
This commit is contained in:
parent
eec8d1a6a6
commit
e51aeb1ca6
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from requests_toolbelt.adapters import source
|
||||||
|
|
||||||
REGEX_URL = re.compile("https?://\S+", re.I)
|
REGEX_URL = re.compile("https?://\S+", re.I)
|
||||||
|
|
||||||
PAIRED_CHARACTERS = ["<>", "()"]
|
PAIRED_CHARACTERS = [("<", ">"), ("(", ")")]
|
||||||
|
|
||||||
# best-effort tidying up of URLs
|
# best-effort tidying up of URLs
|
||||||
def url_sanitise(url: str):
|
def url_sanitise(url: str):
|
||||||
|
|
Loading…
Reference in a new issue