Remove unneeded check

This commit is contained in:
Dan 2021-05-12 08:31:08 +02:00
parent fd04648ea0
commit 0c46b653ec

View File

@ -265,7 +265,7 @@ class SendMediaGroup(Scaffold):
raw.types.InputSingleMedia( raw.types.InputSingleMedia(
media=media, media=media,
random_id=self.rnd_id(), random_id=self.rnd_id(),
**await self.parser.parse(i.caption or "", i.parse_mode) **await self.parser.parse(i.caption, i.parse_mode)
) )
) )