Browse Source

Add missing parameter to getting sticker sets. Fixes #51

pull/54/head
Tulir Asokan 2 years ago
parent
commit
f59406a47a
  1. 2
      sticker/stickerimport.py

2
sticker/stickerimport.py

@ -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()

Loading…
Cancel
Save