mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-07 03:48:02 -05:00
commit
5f561a9575
@ -129,6 +129,9 @@ class SickRage(object):
|
|||||||
try:
|
try:
|
||||||
locale.setlocale(locale.LC_ALL, "UTF-8")
|
locale.setlocale(locale.LC_ALL, "UTF-8")
|
||||||
locale.setlocale(locale.LC_CTYPE, "UTF-8")
|
locale.setlocale(locale.LC_CTYPE, "UTF-8")
|
||||||
|
except (locale.Error, IOError):
|
||||||
|
pass
|
||||||
|
try:
|
||||||
sickbeard.SYS_ENCODING = locale.getpreferredencoding()
|
sickbeard.SYS_ENCODING = locale.getpreferredencoding()
|
||||||
except (locale.Error, IOError):
|
except (locale.Error, IOError):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user