Add utils.get_input_location

This commit is contained in:
Lonami Exo
2018-04-27 21:10:41 +02:00
parent f16289cf93
commit dc273ab6bc
2 changed files with 36 additions and 1 deletions

View File

@@ -2235,6 +2235,7 @@ class TelegramClient(TelegramBareClient):
# The used client will change if FileMigrateError occurs
client = self
cdn_decrypter = None
input_location = utils.get_input_location(input_location)
__log__.info('Downloading file in chunks of %d bytes', part_size)
try: