support feed revert

This commit is contained in:
Ravi Dey 2011-07-04 16:49:25 +05:30
parent e2ddb24cd1
commit 9514ee9eb8

View File

@ -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)