Fix a typo introduced at 1.21
M IOBinding.py Backported to 23-maint
This commit is contained in:
parent
a38123e2fa
commit
188e25f637
|
@ -29,7 +29,7 @@ except ImportError:
|
||||||
try:
|
try:
|
||||||
import locale
|
import locale
|
||||||
locale.setlocale(locale.LC_CTYPE, "")
|
locale.setlocale(locale.LC_CTYPE, "")
|
||||||
except (ImportError, locale.error):
|
except (ImportError, locale.Error):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
encoding = "ascii"
|
encoding = "ascii"
|
||||||
|
|
Loading…
Reference in New Issue