cdleong commited on
Commit
12dfc24
1 Parent(s): 24c5e5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def get_lang_description_from_mapping_name(string_to_check):
15
  return None
16
 
17
  substrings = string_to_check.split("-")
18
- substrings = substrings[:2] # first two
19
  string_to_check = "-".join(substrings)
20
 
21
 
 
15
  return None
16
 
17
  substrings = string_to_check.split("-")
18
+ substrings = substrings[:2] # first two are ISO 639-3 language, and ISO 15924 script
19
  string_to_check = "-".join(substrings)
20
 
21