kickass fix

pull/1/head
DiMartinoXBMC 2015-05-24 15:19:32 +03:00
parent 263eb29160
commit 4e4e2bf569
1 changed files with 5 additions and 8 deletions

View File

@ -214,14 +214,11 @@ class Content:
)
def unescape(self, string):
try:
pars = HTMLParser.HTMLParser()
return pars.unescape(string)
#for (symbol, code) in self.htmlCodes:
# try:
# string = re.sub(code, symbol, string)
# except:
# pass
#return string
except:
return string
def stripHtml(self, string):
for (html, replacement) in self.stripPairs: