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

pull/2542/head v1.4.4-beta.7
morpheus65535 5 months ago
parent 5ad3926306
commit 1f843c7d15

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

Loading…
Cancel
Save