Skip to content
Extraits de code Groupes Projets
Valider f59406a4 rédigé par Tulir Asokan's avatar Tulir Asokan
Parcourir les fichiers

Add missing parameter to getting sticker sets. Fixes #51

parent 99ced887
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -153,7 +153,7 @@ async def main(args: argparse.Namespace) -> None: ...@@ -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()
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter