Fix get_pyproject
This commit is contained in:
parent
1a365316ba
commit
659ec5cea5
|
|
@ -10,5 +10,5 @@ class FoobarExtension(Extension):
|
||||||
|
|
||||||
@pass_context
|
@pass_context
|
||||||
def get_pyproject(self, context, setting):
|
def get_pyproject(self, context, setting):
|
||||||
pyproject = context.get("pyproject", {})
|
pyproject = context.get("cookiecutter", {})
|
||||||
return f"Hello, {setting}! (pyproject: {pyproject})"
|
return f"Hello, {setting}! (pyproject: {pyproject})"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue