Skip to content
Browse files

Fix the last commit to do what it was supposed to

  • Loading branch information...
1 parent 00dde86 commit f89e136d9bee638f44963d951d6cf6a3d0a8fd7b @midgetspy committed Sep 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sickbeard/
2 sickbeard/
@@ -49,7 +49,7 @@ def fixListEncodings(x):
def callPeopleStupid(x):
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')

0 comments on commit f89e136

Please sign in to comment.
Something went wrong with that request. Please try again.