Fixed time period parsing

Also updated link to rclone docs to be more direct to the format docs
This commit is contained in:
Sebastian Goscik
2023-07-29 11:28:54 +01:00
parent 1f2a48f95e
commit 8786f2ceb0
2 changed files with 3 additions and 3 deletions

View File

@@ -339,7 +339,7 @@ def parse_rclone_retention(retention: str) -> relativedelta:
days=matches.get("d", 0),
weeks=matches.get("w", 0),
months=matches.get("M", 0),
years=matches.get("Y", 0),
years=matches.get("y", 0),
)