Skip to content

Commit

Permalink
Merge pull request #382 from ianhi/pyodide-v2
Browse files Browse the repository at this point in the history
Correct check for pyodide
  • Loading branch information
martinRenou authored Oct 25, 2021
2 parents 372834a + f7579cb commit 5b42323
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ipympl/backend_nbagg.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
# solution than a non-working solution here.
try:
import micropip # noqa
except ImportError:

sys.modules['tornado'] = types.ModuleType('tornadofake')
except ModuleNotFoundError:
pass

import io
import json
Expand Down

0 comments on commit 5b42323

Please sign in to comment.