log tweak
This commit is contained in:
parent
e4d5e1b595
commit
cd14dc6158
@ -274,9 +274,7 @@ class BackupRotator:
|
|||||||
if detection == "file":
|
if detection == "file":
|
||||||
ctime = os.path.getctime(item)
|
ctime = os.path.getctime(item)
|
||||||
else:
|
else:
|
||||||
raise AssertionError("Invalid value for \"date-detection\"; Should be one of {file}: {}".format(
|
raise AssertionError(f"Invalid value for \"date-detection\"; Should be one of [file]: {detection}")
|
||||||
detection
|
|
||||||
))
|
|
||||||
|
|
||||||
return ctime
|
return ctime
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user