Merge pull request #11 from lyricalpaws/main

Forgot a double bracket for the tuple
This commit is contained in:
Chloe 2022-05-26 19:04:15 +01:00 committed by GitHub
commit 19dea9f915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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