forked from orbit-oss/flask
Switch to newer click (2.0)
This commit is contained in:
parent
60260eb0f0
commit
f6d25bbc4f
2 changed files with 3 additions and 3 deletions
|
|
@ -192,11 +192,11 @@ def without_appcontext(f):
|
|||
return f
|
||||
|
||||
|
||||
def set_debug_value(ctx, value):
|
||||
def set_debug_value(ctx, param, value):
|
||||
ctx.ensure_object(ScriptInfo).debug = value
|
||||
|
||||
|
||||
def set_app_value(ctx, value):
|
||||
def set_app_value(ctx, param, value):
|
||||
if value is not None:
|
||||
if os.path.isfile(value):
|
||||
value = prepare_exec_for_file(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue