From cd14dc6158aa7c7e01f819e9449d4df35fe26548 Mon Sep 17 00:00:00 2001 From: mike Date: Sun, 21 Apr 2024 02:07:40 -0700 Subject: [PATCH] log tweak --- domain/BackupRotator.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/domain/BackupRotator.py b/domain/BackupRotator.py index ca813fc..2e196f5 100755 --- a/domain/BackupRotator.py +++ b/domain/BackupRotator.py @@ -274,9 +274,7 @@ class BackupRotator: if detection == "file": ctime = os.path.getctime(item) else: - raise AssertionError("Invalid value for \"date-detection\"; Should be one of {file}: {}".format( - detection - )) + raise AssertionError(f"Invalid value for \"date-detection\"; Should be one of [file]: {detection}") return ctime