Call correct_case before generating backup rar name.
This commit is contained in:
parent
9e1819a795
commit
013a3cf689
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ def backup_folder_argparse(args):
|
||||||
date = time.strftime('%Y-%m-%d')
|
date = time.strftime('%Y-%m-%d')
|
||||||
|
|
||||||
folder = pathclass.Path(args.folder)
|
folder = pathclass.Path(args.folder)
|
||||||
|
folder.correct_case()
|
||||||
rar_name = f'{folder.basename} {date}'
|
rar_name = f'{folder.basename} {date}'
|
||||||
|
|
||||||
rarpar.rarpar(
|
rarpar.rarpar(
|
||||||
|
|
Loading…
Reference in a new issue