fix 开关位置

This commit is contained in:
jxxghp
2023-09-13 12:23:32 +08:00
parent 79c708c30e
commit 2de20f601b
5 changed files with 19 additions and 18 deletions

View File

@ -42,6 +42,9 @@ class SubtitleModule(_ModuleBase):
:param download_dir: 下载目录
:return: None该方法可被多个模块同时处理
"""
if not settings.DOWNLOAD_SUBTITLE:
return None
# 种子信息
torrent = context.torrent_info
if not torrent.page_url: