mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix-up missing parenthesis from 066004a
This commit is contained in:
@@ -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):')
|
||||||
|
Reference in New Issue
Block a user