mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-20 00:51:59 +03:00
Update downloads.py
This commit is contained in:
parent
1c38359bae
commit
264f535918
|
@ -992,8 +992,8 @@ class DownloadMethods:
|
|||
)
|
||||
|
||||
# TODO Better way to get opened handles of files and auto-close
|
||||
kind, possible_names = self._get_kind_and_names(web.attributes)
|
||||
file = self._get_proper_filename(
|
||||
kind, possible_names = cls._get_kind_and_names(web.attributes)
|
||||
file = cls._get_proper_filename(
|
||||
file, kind, utils.get_extension(web),
|
||||
possible_names=possible_names
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user