Skip to content

Commit c7380bb

Browse files
authored
Merge pull request #55 from ulgens/update-snippet-py38plus
Update the example snippet for Python 3.8+
2 parents 0424144 + b74a50f commit c7380bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class, just put a ``djclick`` command into
5151
@click.command()
5252
@click.argument('name')
5353
def command(name):
54-
click.secho('Hello, {}'.format(name), fg='red')
54+
click.secho(f'Hello, {name}', fg='red')
5555
5656
And then call the command with::
5757

0 commit comments

Comments
 (0)