mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Fix get_stories
This commit is contained in:
parent
d99c3f511c
commit
8053ce4589
@ -83,4 +83,4 @@ class GetStories:
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
return types.List(stories) if is_iterable else stories[0]
|
return types.List(stories) if is_iterable else stories[0] if stories else None
|
||||||
|
Loading…
Reference in New Issue
Block a user