Skip to content

Commit

Permalink
Merge pull request #2651 from plzzzzg/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp authored Dec 25, 2022
2 parents c67066e + be14f21 commit 1f1dd0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -3822,7 +3822,7 @@ def __delete_files(data):
@staticmethod
def __download_subtitle(data):
"""
从Opensubtitles下载单个文件的字幕
从配置的字幕服务下载单个文件的字幕
"""
path = data.get("path")
name = data.get("name")
Expand All @@ -3842,7 +3842,7 @@ def __download_subtitle(data):
"episode": media.begin_episode,
"bluray": False,
"imdbid": media.imdb_id}]
success, retmsg = Subtitle().download_subtitle(items=subtitle_item, server="opensubtitles")
success, retmsg = Subtitle().download_subtitle(items=subtitle_item)
if success:
return {"code": 0, "msg": retmsg}
else:
Expand Down

0 comments on commit 1f1dd0a

Please sign in to comment.