From a000881c2bcdead7989a645f8e8f9d341308fda3 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 28 May 2017 00:43:30 -0400 Subject: [PATCH] mylife html changed again --- modules/mylife.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/mylife.py b/modules/mylife.py index e8d359e..3a0ec21 100644 --- a/modules/mylife.py +++ b/modules/mylife.py @@ -18,7 +18,8 @@ def fml(phenny, input): raise GrumbleError("I tried to use .fml, but it was broken. FML") doc = lxml.html.fromstring(req) - quote = doc.find_class('block')[1][0].text_content() + quote = doc.find_class('block')[0].text_content() + quote = quote.strip() phenny.say(quote) fml.commands = ['fml']