files in subfolder
This commit is contained in:
parent
962332a6ff
commit
2e7cac5001
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -34,7 +34,7 @@ def regen_dhcp(api_client):
|
|||
ipv4=ipv4
|
||||
) for hostname, mac_address, ipv4 in hmi_list)
|
||||
|
||||
filename = 'dhcp{extension}.list'.format(extension=extension)
|
||||
filename = 'generated/dhcp{extension}.list'.format(extension=extension)
|
||||
with open(filename, 'w+') as f:
|
||||
f.write(dhcp_leases_content)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue