Closed lramati closed 10 years ago
The problem is that iGoogle no longer exists, and that's what .c
is hitting (for whatever reason).
If we can get this fixed in time, I'd love to release 4.1.0 this weekend.
Time to build something that will work locally and not relay on a third party service for simple calculations.
We should figure out what all we want to support in this. I'd be fine with using tools.eval_equation
(which is new to me, but apparently used in dice) for .c
, and let people do anything it can't do with .wa
.
Fixed by 8b12058
[14:05] <Eyore> .c 5/3 [14:05] <Willie> IndexError: list index out of range (file "/home/willie/jenni/willie/modules/calc.py", line 25, in calculate) [14:05] <Eyore> .c 3 [14:05] <Willie> IndexError: list index out of range (file "/home/willie/jenni/willie/modules/calc.py", line 25, in calculate) [14:05] <Eyore> .calc 3 [14:05] <Willie> IndexError: list index out of range (file "/home/willie/jenni/willie/modules/calc.py", line 25, in calculate)
The problem is that the list generated by spliting the result from google no longer has any parts that start with
'rhs: "'
. Beyond that I can't determine anything from my phone