[minor] [bugfix] webutils.py
This commit is contained in:
parent
9de5daa0e2
commit
9ab96ae277
1 changed files with 2 additions and 3 deletions
|
|
@ -148,13 +148,12 @@ def prepare_args(page_name):
|
|||
args.obj = bean.make_controller()
|
||||
else:
|
||||
args = get_doc_fields(page_name)
|
||||
|
||||
if has_app:
|
||||
args = update_template_args(page_name, args)
|
||||
|
||||
if not args:
|
||||
return False
|
||||
|
||||
if has_app:
|
||||
args = update_template_args(page_name, args)
|
||||
|
||||
return args
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue