From 117a1188cdb69cefe3d40a45aec19a12d5fb5ffd Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Mon, 1 Apr 2024 18:33:02 +0100 Subject: [PATCH] fix(WVD): Fix empty path to WVDs folder check It seems a change in click made it so this is now just an empty tuple rather than a one-item tuple with Path("") resolved. --- devine/commands/wvd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/commands/wvd.py b/devine/commands/wvd.py index 793c814..47f4927 100644 --- a/devine/commands/wvd.py +++ b/devine/commands/wvd.py @@ -120,7 +120,7 @@ def dump(wvd_paths: list[Path], out_dir: Path) -> None: If the path is relative, with no file extension, it will dump the WVD in the WVDs directory. """ - if wvd_paths == (Path(""),): + if wvd_paths == (): wvd_paths = list(config.directories.wvds.iterdir()) for wvd_path, out_path in zip(wvd_paths, (out_dir / x.stem for x in wvd_paths)): try: