fix(wallpaper_changer): main would trigger encryption on any folder argument

it should only encrypt with mode != default
This commit is contained in:
Lucas Vivo committed 2026-11-16 19:48:09 +01:00
1 parent 4db77445b5
commit e25475658f
1 file changed
+1 -1
+1 -1
View File
@@ -97,7 +97,7 @@ def main() -> None:
image_repository.check_consecutive_filenames(correct_wrong_numbers=True)
if not args.disable_encryption and (
args.check_encryption or args.mode != "default" or args.folder is not None
args.check_encryption or args.mode != "default"
):
new_images_folder = Path("~").expanduser() / ".wallpaper" / "New"
image_repository.check_encryption(