mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 04:31:13 +01:00
solved path bug
This commit is contained in:
parent
b12c430f33
commit
04671e283b
@ -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):
|
||||
|
||||
# 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.sort(reverse=False)
|
||||
|
Loading…
Reference in New Issue
Block a user