Merge "Recreate index.html with each run"
This commit is contained in:
commit
83da62eede
@ -27,7 +27,6 @@ def create_files(templatepath, outputpath, projects):
|
||||
# Create index file
|
||||
env = Environment(loader=FileSystemLoader(templatepath))
|
||||
indexfile = os.path.join(outputpath, "index.html")
|
||||
if not os.path.exists(indexfile):
|
||||
template = env.get_template('index.html')
|
||||
template.stream(projects=projects,
|
||||
openstack_status=openstack_status).dump(indexfile)
|
||||
|
Loading…
Reference in New Issue
Block a user