fix small typo in logging message

This commit is contained in:
Aleksey Chubukov 2023-02-07 09:55:37 +03:00
parent d9fb692eeb
commit beba69632c

2
bot.py
View File

@ -29,7 +29,7 @@ class StickerPackDownloader:
req = functions.messages.GetStickerSetRequest(stickerset=inputpack,hash=0) req = functions.messages.GetStickerSetRequest(stickerset=inputpack,hash=0)
await for_online() await for_online()
stickers = await self.client(req) stickers = await self.client(req)
self._log.info("downloadding stickerset %s %s", inputpack.id, stickers.set.title) self._log.info("downloading stickerset %s %s", inputpack.id, stickers.set.title)
sticker_dir = self.sticker_downloads/str(inputpack.id) sticker_dir = self.sticker_downloads/str(inputpack.id)
sticker_dir.mkdir(exist_ok=True) sticker_dir.mkdir(exist_ok=True)
with open(str(sticker_dir/'meta.txt'), 'w') as meta: with open(str(sticker_dir/'meta.txt'), 'w') as meta: