mirror of https://gitlab.com/bashrc2/epicyon
Alternative language value separators
parent
5b286bfe68
commit
1a54698ec8
|
@ -38,8 +38,14 @@ def setActorLanguages(baseDir: str, actorJson: {}, languagesStr: str) -> None:
|
|||
separator = ','
|
||||
if '/' in languagesStr:
|
||||
separator = '/'
|
||||
elif ',' in languagesStr:
|
||||
separator = ','
|
||||
elif ';' in languagesStr:
|
||||
separator = ';'
|
||||
elif '+' in languagesStr:
|
||||
separator = '+'
|
||||
elif ' ' in languagesStr:
|
||||
separator = ' '
|
||||
langList = languagesStr.lower().split(separator)
|
||||
langList2 = []
|
||||
for lang in langList:
|
||||
|
|
Loading…
Reference in New Issue