Add missing parameter to getting sticker sets. Fixes #51

This commit is contained in:
Tulir Asokan 2022-11-15 12:58:38 +02:00
parent 99ced8878a
commit f59406a47a

View File

@ -153,7 +153,7 @@ async def main(args: argparse.Namespace) -> None:
return return
input_packs.append(InputStickerSetShortName(short_name=match.group(1))) input_packs.append(InputStickerSetShortName(short_name=match.group(1)))
for input_pack in input_packs: for input_pack in input_packs:
pack: StickerSetFull = await client(GetStickerSetRequest(input_pack)) pack: StickerSetFull = await client(GetStickerSetRequest(input_pack, hash=0))
await reupload_pack(client, pack, args.output_dir) await reupload_pack(client, pack, args.output_dir)
else: else:
parser.print_help() parser.print_help()