mirror of
https://github.com/maunium/stickerpicker.git
synced 2024-11-10 05:37:22 +01:00
Remove animated sticker pack check
This commit is contained in:
parent
e1038e7d1e
commit
125d057e44
@ -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:
|
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")
|
pack_path = os.path.join(output_dir, f"{pack.set.short_name}.json")
|
||||||
try:
|
try:
|
||||||
os.mkdir(os.path.dirname(pack_path))
|
os.mkdir(os.path.dirname(pack_path))
|
||||||
|
Loading…
Reference in New Issue
Block a user