mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-17 18:46:40 +00: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
|
# TODO Better way to get opened handles of files and auto-close
|
||||||
kind, possible_names = self._get_kind_and_names(web.attributes)
|
kind, possible_names = cls._get_kind_and_names(web.attributes)
|
||||||
file = self._get_proper_filename(
|
file = cls._get_proper_filename(
|
||||||
file, kind, utils.get_extension(web),
|
file, kind, utils.get_extension(web),
|
||||||
possible_names=possible_names
|
possible_names=possible_names
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user