mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-02 17:33:37 +00:00
cf280d22ce
Add idna library 2.7 (0f50bdc).
12 lines
232 B
Python
12 lines
232 B
Python
from .core import *
|
|
from .codec import *
|
|
|
|
def ToASCII(label):
|
|
return encode(label)
|
|
|
|
def ToUnicode(label):
|
|
return decode(label)
|
|
|
|
def nameprep(s):
|
|
raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")
|
|
|