mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Remove dead code from send_file
This commit is contained in:
parent
33c5ee9be4
commit
0f7756ac68
|
@ -375,18 +375,6 @@ class UploadMethods:
|
||||||
captions = captions[10:]
|
captions = captions[10:]
|
||||||
sent_count += 10
|
sent_count += 10
|
||||||
|
|
||||||
for doc, cap in zip(file, captions):
|
|
||||||
result.append(await self.send_file(
|
|
||||||
entity, doc, allow_cache=allow_cache,
|
|
||||||
caption=cap, force_document=force_document,
|
|
||||||
progress_callback=used_callback, reply_to=reply_to,
|
|
||||||
attributes=attributes, thumb=thumb, voice_note=voice_note,
|
|
||||||
video_note=video_note, buttons=buttons, silent=silent,
|
|
||||||
supports_streaming=supports_streaming, schedule=schedule,
|
|
||||||
clear_draft=clear_draft, background=background,
|
|
||||||
**kwargs
|
|
||||||
))
|
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
if formatting_entities is not None:
|
if formatting_entities is not None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user