Skip to content

Commit 0762f8f

Browse files
committed
added another prev wrapper
1 parent 87d36ca commit 0762f8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nutrition/results.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ def write_reduced_results(results, reduced_results, projname=None, filename=None
320320
for o, outcome in enumerate(rows):
321321
name = [res] if o == 0 else [""]
322322
thisout = out[o]
323-
if "prev" in outcome.lower():
323+
if _("prev") in outcome.lower():
324324
cumul = "N/A"
325-
elif "mortality" in outcome.lower():
325+
elif _("mortality") in outcome.lower():
326326
cumul = "N/A"
327327
elif _("Number of SAM children") in outcome or _("Number of MAM children") in outcome:
328328
cumul = "N/A"

0 commit comments

Comments
 (0)