mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-22 05:51:10 +00:00
Fix for wrong language logged to history when manually uploading amn episode subtitles.
This commit is contained in:
parent
0b938524ee
commit
6a6425d7bc
1 changed files with 2 additions and 2 deletions
|
@ -730,9 +730,9 @@ class EpisodesSubtitlesUpload(Resource):
|
|||
path = result[1]
|
||||
subs_path = result[2]
|
||||
if forced:
|
||||
language_code = result[2] + ":forced"
|
||||
language_code = language + ":forced"
|
||||
else:
|
||||
language_code = result[2]
|
||||
language_code = language
|
||||
provider = "manual"
|
||||
score = 360
|
||||
history_log(4, sonarrSeriesId, sonarrEpisodeId, message, path, language_code, provider, score, subtitles_path=subs_path)
|
||||
|
|
Loading…
Reference in a new issue