Commit dd5d3b73 authored by chapeau's avatar chapeau
Browse files

Noms de fichier en minuscule et sans espace

parent 1c8e1e68
......@@ -56,7 +56,7 @@ def generate_file(template, host_mac_ip, file_prefix):
filename = path+'/generated/{file_prefix}{key}.list'.format(
key=key,
file_prefix=file_prefix)
file_prefix=file_prefix).lower().replace(" ", "_")
with open(filename, 'w+') as f:
f.write(dhcp_leases_content)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment