solved backups-cleanup.py bug

This commit is contained in:
Kevin Veen-Birkenbach 2023-04-16 14:25:09 +02:00
parent 26ef7e00f0
commit 59f0fd9063

View File

@ -4,6 +4,7 @@ import os
import argparse import argparse
# Validating arguments # Validating arguments
parser = argparse.ArgumentParser()
parser.add_argument('--maximum-backup-size-percent', type=int, dest='maximum_backup_size_percent',required=True, choices=range(0,100), help="The directory from which the data should be encrypted.") parser.add_argument('--maximum-backup-size-percent', type=int, dest='maximum_backup_size_percent',required=True, choices=range(0,100), help="The directory from which the data should be encrypted.")
parser.add_argument('--backups-folder-path',type=str,dest='backups_folder_path',required=True, help="The folder in which the backups are stored") parser.add_argument('--backups-folder-path',type=str,dest='backups_folder_path',required=True, help="The folder in which the backups are stored")
args = parser.parse_args() args = parser.parse_args()