forgot the double bracket

Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
This commit is contained in:
Chloe Carver-Brown 2022-05-26 19:02:19 +01:00
parent b5a49706c6
commit 098eb53e39
No known key found for this signature in database
GPG Key ID: 71938715093BE620
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ def twitfix(sub_path):
)
elif (
request.url.endswith("/1", "/2", "/3", "/4", "%2F1", "%2F2", "%2F3", "%2F4")
request.url.endswith(("/1", "/2", "/3", "/4", "%2F1", "%2F2", "%2F3", "%2F4"))
):
twitter_url = "https://twitter.com/" + sub_path