mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
convert to 3 letter language code. Fixes #1088
This commit is contained in:
parent
e5a46f581d
commit
319d418af8
2 changed files with 15 additions and 6 deletions
|
@ -39,7 +39,9 @@ if server_responding("http://127.0.0.1:8090"):
|
|||
print "Mylar Running"
|
||||
|
||||
from babelfish import Language
|
||||
print Language('eng')
|
||||
lan = 'pt'
|
||||
lan = Language.fromalpha2(lan)
|
||||
print lan.alpha3
|
||||
|
||||
import subliminal
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue