Skip to content

Commit

Permalink
Merge pull request #9527 from tk0miya/9525_tutorial
Browse files Browse the repository at this point in the history
Fix #9525: tutorial: Wrong condition in recipe.py
  • Loading branch information
tk0miya committed Aug 10, 2021
2 parents 52753e8 + c1692fa commit 8948f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/development/tutorials/examples/recipe.py
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 8948f45

Please sign in to comment.