mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-03-19 09:32:17 +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)
|
||||
builder.writeln(
|
||||
"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),
|
||||
', '.join(a.name for a in ra)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user