We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d1acc commit f627efaCopy full SHA for f627efa
1 file changed
snapraid-runner.py
@@ -333,10 +333,7 @@ def run():
333
).format(**diff_results)
334
)
335
336
- if (
337
- config["snapraid"]["deletethreshold"] >= 0
338
- and diff_results["remove"] > config["snapraid"]["deletethreshold"]
339
- ):
+ if 0 <= config["snapraid"]["deletethreshold"] < diff_results["remove"]:
340
logging.error(
341
"Deleted files exceed delete threshold of {}, aborting".format(
342
config["snapraid"]["deletethreshold"]
0 commit comments