mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +03:00
Fix-up missing parenthesis from 066004a
This commit is contained in:
parent
066004acd1
commit
61f9dc1cd7
|
@ -239,7 +239,7 @@ def _write_class_init(tlobject, kind, type_constructors, builder):
|
||||||
def _write_resolve(tlobject, builder):
|
def _write_resolve(tlobject, builder):
|
||||||
if tlobject.is_function and any(
|
if tlobject.is_function and any(
|
||||||
(arg.type in AUTO_CASTS
|
(arg.type in AUTO_CASTS
|
||||||
or (arg.name, arg.type in NAMED_AUTO_CASTS))
|
or ((arg.name, arg.type) in NAMED_AUTO_CASTS))
|
||||||
for arg in tlobject.real_args
|
for arg in tlobject.real_args
|
||||||
):
|
):
|
||||||
builder.writeln('async def resolve(self, client, utils):')
|
builder.writeln('async def resolve(self, client, utils):')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user