Merge pull request #12 from lyricalpaws/main

a
This commit is contained in:
Chloe 2022-05-26 19:13:22 +01:00 committed by GitHub
commit e88a2712de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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