solved path bug

This commit is contained in:
Kevin Veen-Birkenbach 2023-04-19 14:04:27 +02:00
parent b12c430f33
commit 04671e283b

View File

@ -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)