This commit is contained in:
parent
d6c268dc0e
commit
7c4729cf2a
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ def main():
|
||||||
"os":{"NAME":"FreeboxOS","VERSION":"None"},
|
"os":{"NAME":"FreeboxOS","VERSION":"None"},
|
||||||
}
|
}
|
||||||
infos["extend_exists"] = False
|
infos["extend_exists"] = False
|
||||||
|
print("Generating final rst")
|
||||||
output = template.render(**infos)
|
output = template.render(**infos)
|
||||||
with open("../source/devices/{host}.rst".format(host=infos["hostname"].replace("\n","")), "w") as f:
|
with open("../source/devices/{host}.rst".format(host=infos["hostname"].replace("\n","")), "w") as f:
|
||||||
f.write(output)
|
f.write(output)
|
||||||
|
|
Loading…
Add table
Reference in a new issue