Skip to content

Commit

Permalink
Fix mountpath handling
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowcap committed Jun 7, 2024
1 parent 81aef97 commit 38da4e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stacchip/chipper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 38da4e9

Please sign in to comment.