Skip to content

Commit 3136783

Browse files
committed
Fix incuslib: call resolve() on user-passed Paths
1 parent 6ef8ef9 commit 3136783

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

incuslib/simplestreams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
class SimpleStreams:
1212
def __init__(self, incus: Incus, path: Path, cachedir: Path) -> None:
1313
self.incus = incus
14-
self.path = path
14+
self.path = path.resolve()
1515
self.path.mkdir(exist_ok=True)
16-
self.cachedir = cachedir
16+
self.cachedir = cachedir.resolve()
1717
self.cachedir.mkdir(exist_ok=True)
1818

1919
def import_from_incus(self, name: str, alias: str) -> None:

0 commit comments

Comments
 (0)