Multiple fixes in paths, cleaning code...
This commit is contained in:
parent
dc58175760
commit
73f9a5589e
4 changed files with 12 additions and 18 deletions
|
|
@ -269,7 +269,7 @@ def start():
|
|||
pass
|
||||
|
||||
# Install modules
|
||||
"""
|
||||
|
||||
if args.modules!=None:
|
||||
|
||||
if args.modules.strip()!='':
|
||||
|
|
@ -337,18 +337,6 @@ def start():
|
|||
|
||||
os.chdir(args.path)
|
||||
|
||||
#Regenerating modules.py
|
||||
|
||||
regenerate='regenerate.py'
|
||||
|
||||
os.chmod(regenerate, 0o755)
|
||||
|
||||
if call('./regenerate.py', shell=True) > 0:
|
||||
print('Error, cannot regenerate the modules.py script')
|
||||
exit(1)
|
||||
else:
|
||||
print('Regeneration of modules.py finished')
|
||||
|
||||
# Installing models
|
||||
|
||||
padmin='padmin.py'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue