Fix begin/end_takeout

This commit is contained in:
Lonami Exo
2022-02-18 19:21:52 +01:00
parent d6669a1172
commit d1dba60278
2 changed files with 9 additions and 7 deletions

View File

@@ -289,7 +289,7 @@ class TelegramClient:
return account.takeout_active(self)
@forward_call(account.end_takeout)
async def end_takeout(self: 'TelegramClient', success: bool) -> bool:
async def end_takeout(self: 'TelegramClient', *, success: bool) -> bool:
"""
Finishes the current takeout session.