test for membership should be 'not in'

This commit is contained in:
yasirarism 2023-01-10 20:29:15 +07:00 committed by GitHub
parent 8ffb9121c4
commit 8dd0d55b1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ async def zonafilm(_, msg):
msgs += f"<b>{c}. <a href='{i['link']}'>{i['judul']}</a></b>\n<b>Genre:</b> <code>{i['genre']}</code>\n"
msgs += (
f"<b>Extract:</b> <code>/{msg.command[0]}_scrap {i['link']}</code>\n\n"
if not "/tv/" in i["link"]
if "/tv/" not in i["link"]
else "\n"
)
if len(head.encode("utf-8") + msgs.encode("utf-8")) >= 4000: