log tweak

This commit is contained in:
mike 2024-04-21 02:07:40 -07:00
parent e4d5e1b595
commit cd14dc6158
1 changed files with 1 additions and 3 deletions

View File

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