From 38da4e90bc6b880d75d2de633ce8de0961c536b2 Mon Sep 17 00:00:00 2001 From: Daniel Wiesmann Date: Fri, 7 Jun 2024 12:30:32 +0100 Subject: [PATCH] Fix mountpath handling --- stacchip/chipper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stacchip/chipper.py b/stacchip/chipper.py index 1fc0c19..f3f7fa4 100644 --- a/stacchip/chipper.py +++ b/stacchip/chipper.py @@ -19,13 +19,13 @@ class Chipper: def __init__( self, indexer: ChipIndexer, - mountpath: str = "", + mountpath: Optional[str] = None, asset_blacklist: Optional[List[str]] = None, ) -> None: """ Init Chipper class """ - self.mountpath = Path(mountpath) + self.mountpath = None if mountpath is None else Path(mountpath) self.indexer = indexer if asset_blacklist is None: