Fix in create_module
This commit is contained in:
parent
033ccd5028
commit
1505ab4271
1 changed files with 6 additions and 1 deletions
|
|
@ -70,16 +70,21 @@ def regenerate_modules_config():
|
|||
|
||||
modules.append('from '+module+' import ')
|
||||
|
||||
arr_controllers=[]
|
||||
|
||||
for controller in dir_controllers:
|
||||
|
||||
if controller.find('.py')!=-1 and controller.find('__init__')==-1:
|
||||
|
||||
controller_py=controller.replace('.py', '')
|
||||
|
||||
modules.append(controller_py)
|
||||
arr_controllers.append(controller_py)
|
||||
|
||||
#load(module+'.'+controller_py)
|
||||
|
||||
|
||||
modules.append(", ".join(arr_controllers))
|
||||
|
||||
modules.append("\n\n")
|
||||
|
||||
#add_func_static_module(controller_base)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue