mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Fix unsorted Telegram API entries
This commit is contained in:
parent
8ea556b65f
commit
9023d999b8
@ -88,7 +88,7 @@ def generate(source_path, base):
|
|||||||
inner_path = base + "/" + k + "/index" + ".rst"
|
inner_path = base + "/" + k + "/index" + ".rst"
|
||||||
module = "pyrogram.api.{}.{}".format(base, k)
|
module = "pyrogram.api.{}.{}".format(base, k)
|
||||||
else:
|
else:
|
||||||
for i in list(all_entities)[::-1]:
|
for i in sorted(list(all_entities), reverse=True):
|
||||||
if i != base:
|
if i != base:
|
||||||
entities.insert(0, "{0}/index".format(i))
|
entities.insert(0, "{0}/index".format(i))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user