mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix-up f25541e
(.to_dict() on patched objects)
This commit is contained in:
parent
f25541ea6f
commit
6b57dba5e1
|
@ -642,7 +642,7 @@ def _write_patched(out_dir, namespace_tlobjects):
|
|||
builder.writeln(AUTO_GEN_NOTICE)
|
||||
|
||||
builder.writeln('import struct')
|
||||
builder.writeln('from .. import types, custom')
|
||||
builder.writeln('from .. import TLObject, types, custom')
|
||||
builder.writeln()
|
||||
for t in tlobjects:
|
||||
builder.writeln('class {}(custom.{}):', t.class_name,
|
||||
|
|
Loading…
Reference in New Issue
Block a user