Skip to content

Commit

Permalink
Remove animated sticker pack check
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jun 19, 2024
1 parent e1038e7 commit 125d057
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sticker/stickerimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 125d057

Please sign in to comment.