Skip to content

Commit 096dd47

Browse files
committed
Fix retrieving the stored horoscope sign
1 parent 931caf7 commit 096dd47

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)