Fixes bug with empty_after_x_days #170

This commit is contained in:
Jon Lee 2022-10-21 10:24:10 -04:00
parent 33d9286eff
commit cbc98aebc0
No known key found for this signature in database
GPG key ID: 9665BA6CF5DC2671

View file

@ -395,7 +395,7 @@ class Config:
location_path = self.orphaned_dir
if not skip:
if enabled and empty_after_x_days:
if enabled and empty_after_x_days is not None:
if location == "Recycle Bin" and self.recyclebin['split_by_category']:
if "cat" in self.data and self.data["cat"] is not None:
save_path = list(self.data["cat"].values())