fix(wallpaper_changer): main would trigger encryption on any folder argument
it should only encrypt with mode != default
This commit is contained in:
1 parent
4db77445b5
commit
e25475658f
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user