mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
solved path bug
This commit is contained in:
parent
728085f212
commit
c1a9b50641
@ -18,7 +18,7 @@ while psutil.disk_usage(args.backups_folder_path).percent > args.maximum_backup_
|
|||||||
for application_directory in os.listdir(host_backup_directory_path):
|
for application_directory in os.listdir(host_backup_directory_path):
|
||||||
|
|
||||||
# The directory which contains all backup versions of the application
|
# The directory which contains all backup versions of the application
|
||||||
versions_directory = os.path.join(host_backup_directory_path, application_directory)
|
versions_directory = os.path.join(host_backup_directory_path, application_directory) + "/"
|
||||||
|
|
||||||
versions = os.listdir(versions_directory)
|
versions = os.listdir(versions_directory)
|
||||||
versions.sort(reverse=False)
|
versions.sort(reverse=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user