From d34755e7aa42ef6b3f6968403e23a62a9fa11acc Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Fri, 15 Jun 2018 12:59:39 -0400 Subject: [PATCH] Fix bug loading multiple packages --- src/pyodide.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pyodide.js b/src/pyodide.js index f7b918bc9..af9a7b388 100644 --- a/src/pyodide.js +++ b/src/pyodide.js @@ -21,10 +21,6 @@ var languagePluginLoader = new Promise((resolve, reject) => { }; let loadedPackages = new Set(); let loadPackage = (names) => { - if (Array.isArray(names)) { - names = [ names ]; - } - // DFS to find all dependencies of the requested packages let queue = new Array(names); let toLoad = new Set();