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 4f43511 commit 9ea8981
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 @@ -303,6 +304,7 @@ def pack_prefix(self, kernel_dir):
host_path, mount_path = mount.split(":")
host_path = Path(host_path)
mount_path = Path(mount_path)
host_path = Path(host_path)

if not mount_path.is_absolute() or (
os.name == "nt" and mount_path.anchor != "\\"
Expand Down

0 comments on commit 9ea8981

Please sign in to comment.