Fix downloads not blocking for a result

This commit is contained in:
Lonami Exo 2018-07-04 15:25:14 +02:00
parent a9e4760216
commit 78167b3c7b

View File

@ -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