1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-03 05:25:28 +00:00

Fixed corrupted hi value in languages profile after reverting back Non-HI only feature.

This commit is contained in:
morpheus65535 2024-06-16 10:03:20 -04:00
parent 5ad3926306
commit 1f843c7d15

View file

@ -515,7 +515,7 @@ def upgrade_languages_profile_hi_values():
for language in items: for language in items:
if language['hi'] == "only": if language['hi'] == "only":
language['hi'] = "True" language['hi'] = "True"
elif language['hi'] == "also": elif language['hi'] in ["also", "never"]:
language['hi'] = "False" language['hi'] = "False"
database.execute( database.execute(
update(TableLanguagesProfiles) update(TableLanguagesProfiles)