ImportError
diff --git a/emsdk.py b/emsdk.py index 82cc2e1..daa56e8 100644 --- a/emsdk.py +++ b/emsdk.py
@@ -1264,7 +1264,7 @@ # Use mozdownload to figure out what version of Firefox we are looking to get. try: from mozdownload import FactoryScraper - except ModuleNotFoundError: + except ImportError: # Install mozdownload into the current python interpreter so that it can be imported. subprocess.check_call([sys.executable, "-m", "pip", "install", "mozdownload"]) from mozdownload import FactoryScraper