fixed check of weed_enable

This commit is contained in:
Fredrik Eriksson 2020-12-21 19:07:15 +01:00
parent 2a91a41ede
commit 1290623456
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D

View File

@ -259,7 +259,7 @@ def weed_snapshots(fslist, snapshots, config, failed_snapshots):
continue continue
if source_fs not in snapshots: if source_fs not in snapshots:
continue continue
if not conf['weed_enable']: if not conf['weed_enable'] or conf['weed_enable'].lower() in ('false', 'no'):
continue continue
kwargs = {k: int(v) for k, v in conf.items() if k in [ kwargs = {k: int(v) for k, v in conf.items() if k in [