diff --git a/data/scrape/lib/languages_update.py b/data/scrape/lib/languages_update.py index 7814dfba..c8ae86f6 100755 --- a/data/scrape/lib/languages_update.py +++ b/data/scrape/lib/languages_update.py @@ -106,9 +106,9 @@ def main(): # Uses property_value_aliases to get # ISO-15924 code. if script not in lang["script"]: - lang["script"][_get_alias(script)] = ( - script.replace("_", " ") - ) + lang["script"][ + _get_alias(script) + ] = script.replace("_", " ") _remove_mismatch_ids(lang) with open(LANGUAGES_PATH, "w", encoding="utf-8") as sink: json.dump(languages, sink, ensure_ascii=False, indent=4)