Skip to content

Commit

Permalink
Fix #9525: tutorial: Wrong condition in recipe.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Aug 4, 2021
1 parent d788e78 commit c1692fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/development/tutorials/examples/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def handle_signature(self, sig, signode):

def add_target_and_index(self, name_cls, sig, signode):
signode['ids'].append('recipe' + '-' + sig)
if 'contains' not in self.options:
if 'contains' in self.options:
ingredients = [
x.strip() for x in self.options.get('contains').split(',')]

Expand Down

0 comments on commit c1692fa

Please sign in to comment.