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): def unescape(self, string):
pars = HTMLParser.HTMLParser() try:
return pars.unescape(string) pars = HTMLParser.HTMLParser()
#for (symbol, code) in self.htmlCodes: return pars.unescape(string)
# try: except:
# string = re.sub(code, symbol, string) return string
# except:
# pass
#return string
def stripHtml(self, string): def stripHtml(self, string):
for (html, replacement) in self.stripPairs: for (html, replacement) in self.stripPairs: