log tweak
This commit is contained in:
1 parent
e4d5e1b595
commit
cd14dc6158
1 file changed
+1
-3
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user