Remove animated sticker pack check

This commit is contained in:
Tulir Asokan 2024-06-19 13:55:00 +03:00 committed by Sam Therapy
parent ca3df80c61
commit c91f8afe94
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -56,10 +56,6 @@ def add_meta(document: Document, info: matrix.StickerInfo, pack: StickerSetFull)
async def reupload_pack(client: TelegramClient, pack: StickerSetFull, output_dir: str) -> None:
if pack.set.animated:
print("Animated stickerpacks are currently not supported")
return
pack_path = os.path.join(output_dir, f"{pack.set.short_name}.json")
try:
os.mkdir(os.path.dirname(pack_path))