Skip to content

Commit

Permalink
v1.2.4 修复v1.2.3只已知致命问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
Gentlesprite committed Dec 14, 2024
1 parent 1a1b851 commit c26b295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions limited_media_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ def __init__(self):
def _get_download_type(self):
self.download_type: list = self.app.config.get('download_type', None)
if self.download_type is not None:
self.record_dtype.update(self.download_type)
self.record_dtype.update(self.download_type) # v1.2.4 修复特定情况结束后不显示表格问题
self.download_type.append(DownloadType.document.text)
else:
self.download_type: list = DownloadType.support_type()
self.record_dtype: set = {DownloadType.video.text, DownloadType.photo.text}
self.record_dtype: set = {DownloadType.video.text, DownloadType.photo.text} # v1.2.4 修复此处报错问题v1.2.3此处有致命错误
console.log('读取配置文件失败,已使用默认下载类型:3.视频和图片。')

def _config_table(self):
Expand Down
2 changes: 1 addition & 1 deletion module/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def represent_none(self, data):
utils.get_peer_type = get_peer_type_new
__version__ = '1.2.4'
__license__ = "MIT License"
__update_date__ = '2024/12/15 02:42:43'
__update_date__ = '2024/12/15 03:06:54'
__copyright__ = f'Copyright (C) {__update_date__[:4]} Gentlesprite <https://github.com/Gentlesprite>'
SOFTWARE_FULL_NAME = 'Telegram Restricted Media Downloader'
SOFTWARE_NAME = 'TRMD'
Expand Down

0 comments on commit c26b295

Please sign in to comment.