Skip to content

Commit

Permalink
update horoscope.py parser
Browse files Browse the repository at this point in the history
  • Loading branch information
thewisenerd authored and tuzonghua committed Nov 21, 2017
1 parent ace462f commit f21f725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/horoscope.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def horoscope(text, db, bot, notice, nick):
horoscope_text = soup.find_all(attrs={'class': 'horoscope-content'})[0].text

if not horoscope_text:
return "Could not get the horoscope for {}. Hororscope text error".format(sign)
return "Could not get the horoscope for {}.".format(text)
else:
horoscope_text = horoscope_text[0].text.strip()

Expand Down

0 comments on commit f21f725

Please sign in to comment.