Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix path typing #123

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the same line already seems to be there two lines above?


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