Skip to content

Commit

Permalink
Fix path typing
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Oct 11, 2024
1 parent 075cd58 commit b72c578
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jupyterlite_xeus/add_on.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""a JupyterLite addon for creating the env for xeus kernels"""

import json
import os
from pathlib import Path
Expand Down Expand Up @@ -294,6 +295,7 @@ def pack_prefix(self, kernel_dir):

host_path, mount_path = mount.split(":")
mount_path = Path(mount_path)
host_path = Path(host_path)

if not mount_path.is_absolute():
raise ValueError(f"mount_path {mount_path} needs to be absolute")
Expand Down

0 comments on commit b72c578

Please sign in to comment.