log tweak
This commit is contained in:
parent
e4d5e1b595
commit
cd14dc6158
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user