mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-10 10:49:39 +00:00
Fix generating error names in TL ref
This commit is contained in:
@@ -370,7 +370,7 @@ def _write_html_pages(tlobjects, methods, layer, input_res):
|
|||||||
))
|
))
|
||||||
docs.begin_table(column_count=2)
|
docs.begin_table(column_count=2)
|
||||||
for error in errors:
|
for error in errors:
|
||||||
docs.add_row('<code>{}</code>'.format(error.name))
|
docs.add_row('<code>{}</code>'.format(error.canonical_name))
|
||||||
docs.add_row('{}.'.format(error.description))
|
docs.add_row('{}.'.format(error.description))
|
||||||
docs.end_table()
|
docs.end_table()
|
||||||
docs.write_text('You can import these from '
|
docs.write_text('You can import these from '
|
||||||
|
Reference in New Issue
Block a user