Skip to content

Commit f2085e3

Browse files
committed
fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent bf077c7 commit f2085e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tcod/cffi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def get_sdl_version() -> str:
5858
verify_dependencies()
5959
from tcod._libtcod import ffi, lib # noqa: E402
6060

61-
__sdl_version__ = get_sdl_version()
61+
if sys.platform != "emscripten":
62+
__sdl_version__ = get_sdl_version()
6263

6364

6465
@ffi.def_extern() # type: ignore[misc]

0 commit comments

Comments
 (0)