mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-03-21 18:34:43 +03:00
Fix incorrectly generated code
This commit is contained in:
parent
f49208f961
commit
0e1249c833
|
@ -318,7 +318,7 @@ class TLGenerator:
|
||||||
cnd2 = ('not self.{}'.format(a.name) for a in ra)
|
cnd2 = ('not self.{}'.format(a.name) for a in ra)
|
||||||
builder.writeln(
|
builder.writeln(
|
||||||
"assert ({}) or ({}), '{} parameters must all "
|
"assert ({}) or ({}), '{} parameters must all "
|
||||||
"be False-y (like None) or all me True-y''".format(
|
"be False-y (like None) or all me True-y'".format(
|
||||||
' and '.join(cnd1), ' and '.join(cnd2),
|
' and '.join(cnd1), ' and '.join(cnd2),
|
||||||
', '.join(a.name for a in ra)
|
', '.join(a.name for a in ra)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user