Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the last commit to do what it was supposed to

  • Loading branch information...
commit f89e136d9bee638f44963d951d6cf6a3d0a8fd7b 1 parent 00dde86
@midgetspy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sickbeard/encodingKludge.py
View
2  sickbeard/encodingKludge.py
@@ -49,7 +49,7 @@ def fixListEncodings(x):
def callPeopleStupid(x):
try:
return x.encode(sickbeard.SYS_ENCODING)
- except UnicodeDecodeError:
+ except UnicodeEncodeError:
logger.log(u"YOUR COMPUTER SUCKS! Your data is being corrupted by a bad locale/encoding setting. Report this error on the forums or IRC please: "+repr(x)+", "+sickbeard.SYS_ENCODING, logger.ERROR)
return x.encode(sickbeard.SYS_ENCODING, 'ignore')
Please sign in to comment.
Something went wrong with that request. Please try again.