Skip to content
Browse files

Process the attributes properly for recipes

  • Loading branch information...
1 parent 4d0c1bd commit 6ac6d4b117a81268d9cfdb5ad8e295e9be003b53 @chilts chilts committed Jan 26, 2010
Showing with 7 additions and 1 deletion.
  1. +7 −1 node/recipe.py
View
8 node/recipe.py
@@ -100,7 +100,13 @@ def post(self):
method = self.request.get('method')
type = self.request.get('type')
label_raw = self.request.get('label_raw').strip()
- attribute_raw = self.request.get('attribute_raw').strip()
+ attribute_raw = util.make_attr_raw_string(
+ {
+ 'index-entry' : self.request.get('index_entry'),
+ 'has-comments' : self.request.get('has_comments'),
+ 'comments-open' : self.request.get('comments_open'),
+ }
+ ).strip()
# some pre-processing of the input params
if name == '':

0 comments on commit 6ac6d4b

Please sign in to comment.
Something went wrong with that request. Please try again.