mirror of https://github.com/devine-dl/devine.git
parent
491a0b3a5a
commit
3659c81d6a
|
@ -38,6 +38,7 @@ def add(paths: list[Path]) -> None:
|
|||
else:
|
||||
# TODO: Check for and log errors
|
||||
_ = Device.load(path) # test if WVD is valid
|
||||
dst_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
shutil.move(path, dst_path)
|
||||
log.info(f"Added {path.stem}")
|
||||
|
||||
|
|
Loading…
Reference in New Issue