mirror of https://github.com/devine-dl/devine.git
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.
This commit is contained in:
parent
a053423d23
commit
117a1188cd
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue