1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #705 from keshamin/fix-578

Fixed #578
This commit is contained in:
FrankWang 2019-10-30 21:21:49 +08:00 committed by GitHub
commit f4c215b0b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ def get_file(token, file_id):
def get_file_url(token, file_id):
return FILE_URL.format(token, get_file(token, file_id).file_path)
return FILE_URL.format(token, get_file(token, file_id)['file_path'])
def download_file(token, file_path):