Browse Source

Changed the import to make it more clear

pull/2825/head
Dilan Coss 7 years ago
parent
commit
b549257514
  1. 4
      flask/cli.py

4
flask/cli.py

@ -21,7 +21,7 @@ import traceback
from functools import update_wrapper from functools import update_wrapper
from operator import attrgetter from operator import attrgetter
from threading import Lock, Thread from threading import Lock, Thread
from werkzeug import __version__ as werkzeug_version import werkzeug
import click import click
from werkzeug.utils import import_string from werkzeug.utils import import_string
@ -264,7 +264,7 @@ def get_version(ctx, param, value):
click.echo(message % { click.echo(message % {
'version': __version__, 'version': __version__,
'python_version': sys.version, 'python_version': sys.version,
'werkzeug_version': werkzeug_version, 'werkzeug_version': werkzeug.__version__,
}, color=ctx.color) }, color=ctx.color)
ctx.exit() ctx.exit()

Loading…
Cancel
Save