mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Merge pull request #118 from SickragePVR/revert-113-fix_SYS_ENCODING
Revert "Fix SYS_ENCODING "
This commit is contained in:
commit
5969fca638
@ -129,9 +129,6 @@ 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