diff options
| author | Tulir Asokan <tulir@maunium.net> | 2024-06-19 13:55:00 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2024-06-19 13:55:00 +0300 |
| commit | 125d057e447ef62fddbcda40c8ea4c7faee7082a (patch) | |
| tree | 29527c855479418ccaa8776fbdbed84ddae6dd03 | |
| parent | e1038e7d1e15a853e21e71951edea1c102259caf (diff) | |
Remove animated sticker pack check
| -rw-r--r-- | sticker/stickerimport.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sticker/stickerimport.py b/sticker/stickerimport.py index db176e4..534f3c4 100644 --- a/sticker/stickerimport.py +++ b/sticker/stickerimport.py @@ -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)) |
