Skip to content

Commit 2d48717

Browse files
committed
import: jsexception from pyodide.ffi
1 parent 840425b commit 2d48717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skillsnetwork/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ async def _get_chunks(url: str, chunk_size: int) -> Generator[bytes, None, None]
6969
desc = f"Downloading {Path(urlparse(url).path).name}"
7070
if _is_jupyterlite():
7171
from js import fetch # pyright: ignore
72-
from pyodide import JsException # pyright: ignore
72+
from pyodide.ffi import JsException # pyright: ignore
7373

7474
try:
7575
response = await fetch(url)

0 commit comments

Comments
 (0)