mirror of https://github.com/devine-dl/devine.git
refactor(WVD): Print error if path to parse doesn't exist
This commit is contained in:
parent
3659c81d6a
commit
a053423d23
|
@ -84,6 +84,10 @@ def parse(path: Path) -> None:
|
||||||
|
|
||||||
log = logging.getLogger("wvd")
|
log = logging.getLogger("wvd")
|
||||||
|
|
||||||
|
if not path.exists():
|
||||||
|
console.log(f"[bright_blue]{path.absolute()}[/] does not exist...")
|
||||||
|
return
|
||||||
|
|
||||||
device = Device.load(path)
|
device = Device.load(path)
|
||||||
|
|
||||||
log.info(f"System ID: {device.system_id}")
|
log.info(f"System ID: {device.system_id}")
|
||||||
|
|
Loading…
Reference in New Issue