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
|
# Create index file
|
||||||
env = Environment(loader=FileSystemLoader(templatepath))
|
env = Environment(loader=FileSystemLoader(templatepath))
|
||||||
indexfile = os.path.join(outputpath, "index.html")
|
indexfile = os.path.join(outputpath, "index.html")
|
||||||
if not os.path.exists(indexfile):
|
|
||||||
template = env.get_template('index.html')
|
template = env.get_template('index.html')
|
||||||
template.stream(projects=projects,
|
template.stream(projects=projects,
|
||||||
openstack_status=openstack_status).dump(indexfile)
|
openstack_status=openstack_status).dump(indexfile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user