summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/wacalc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/wacalc.py b/modules/wacalc.py
index 4d40ade..27d6962 100644
--- a/modules/wacalc.py
+++ b/modules/wacalc.py
@@ -62,7 +62,7 @@ class Module(object):
return text.encode('utf-8')
for pod in xml.findall('pod'):
pod_id = pod.attrib['id']
- if pod_id == 'Result':
+ if pod_id in ('Result', 'DecimalApproximation'):
right = pod_plaintext(pod)
elif pod_id == 'Input':
left = pod_plaintext(pod)