Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Re2o
dhcp
Commits
dd5d3b73
Commit
dd5d3b73
authored
Feb 14, 2020
by
chapeau
Browse files
Noms de fichier en minuscule et sans espace
parent
1c8e1e68
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.py
View file @
dd5d3b73
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment