im legally blind

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

View File

@ -349,7 +349,7 @@ def twitfix(sub_path):
return embed_video(clean, image)
elif (
request.url.endswith("/1p", "/2p", "/3p", "/4p", "%2F1p", "%2F2p", "%2F3p", "%2F4p")
request.url.endswith(("/1p", "/2p", "/3p", "/4p", "%2F1p", "%2F2p", "%2F3p", "%2F4p"))
):
twitter_url = "https://twitter.com/" + sub_path