Skip to content

Commit 9e6e53e

Browse files
authored
Merge pull request CloudBotIRC#169 from linuxdaemon/gonzobot+fix-horoscope-cache
Fix retrieving the stored horoscope sign
2 parents bf7030f + 096dd47 commit 9e6e53e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/horoscope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def horoscope(text, db, bot, nick, notice, notice_doc, reply, message):
6464
notice_doc()
6565
return
6666

67-
sign = sign[0].strip().lower()
67+
sign = sign.strip().lower()
6868

6969
if sign not in signs:
7070
notice("Unknown sign: {}".format(sign))

0 commit comments

Comments
 (0)