From 9514ee9eb87b0c64a535b70f5355ea8b34469bad Mon Sep 17 00:00:00 2001 From: Ravi Dey Date: Mon, 4 Jul 2011 16:49:25 +0530 Subject: [PATCH] support feed revert --- home/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/__init__.py b/home/__init__.py index 111f6e618b..db8c5b6b65 100644 --- a/home/__init__.py +++ b/home/__init__.py @@ -96,5 +96,5 @@ def update_feed(doc): "adds a new feed" subject, color = feed_dict.get(doc.doctype, [None, None]) if subject: - subject = subject % doc.fields - make_feed(doc, subject, color) + subject = subject % doc.fields + make_feed(doc, subject, color)