mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-03 11:40:11 +03:00
Fix downloads not blocking for a result
This commit is contained in:
parent
a9e4760216
commit
78167b3c7b
|
@ -212,7 +212,7 @@ class DownloadMethods(UserMethods):
|
|||
try:
|
||||
result = sender.send(functions.upload.GetFileRequest(
|
||||
input_location, offset, part_size
|
||||
))
|
||||
)).result()
|
||||
if isinstance(result, types.upload.FileCdnRedirect):
|
||||
# TODO Implement
|
||||
raise NotImplementedError
|
||||
|
|
Loading…
Reference in New Issue
Block a user