This commit is contained in:
Luke Rogers 2014-03-06 14:02:26 +13:00
parent 141fe8d80c
commit f81cf21b57
10 changed files with 18 additions and 18 deletions

View file

@ -46,7 +46,7 @@ def horoscope(inp, db=None, notice=None, nick=None):
title = soup.find_all('h1', {'class': 'h1b'})[1]
horoscope_text = soup.find('div', {'class': 'fontdef1'})
result = "\x02%s\x02 %s" % (title, horoscope_text)
result = "\x02{}\x02 {}".format(title, horoscope_text)
result = text.strip_html(result)
#result = unicode(result, "utf8").replace('flight ','')