From f59406a47a6778cd402e656ffb64f667335f665a Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 15 Nov 2022 12:58:38 +0200 Subject: [PATCH] Add missing parameter to getting sticker sets. Fixes #51 --- sticker/stickerimport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sticker/stickerimport.py b/sticker/stickerimport.py index f153e98..db176e4 100644 --- a/sticker/stickerimport.py +++ b/sticker/stickerimport.py @@ -153,7 +153,7 @@ async def main(args: argparse.Namespace) -> None: return input_packs.append(InputStickerSetShortName(short_name=match.group(1))) 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) else: parser.print_help()