Skip to content

Commit

Permalink
files_host
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-net committed Feb 24, 2020
1 parent 314e9bf commit f5e5de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_ip_dhcp(ip):

# Création des dossiers de backup avec l'hostname
def create_all_files(ip_address):
path_backup = "backups/%s" % (get_hostname())
path_backup = "backups/{0}".format(get_hostname)
# droits d'accès
rights = 0o755
if not os.path.isdir(path_backup):
Expand Down

0 comments on commit f5e5de4

Please sign in to comment.