[web] refactoring: removing unneeded call to create the Electron cache directory

This commit is contained in:
Vinicius Moreira
2021-11-25 12:46:58 -03:00
parent 5e9409b6b7
commit 085e7e4af4

View File

@@ -192,7 +192,6 @@ class EnvironmentUpdater:
return os.path.exists(NATIVEFIER_BIN_PATH)
def download_electron(self, version: str, url: str, widevine: bool, watcher: ProcessWatcher) -> bool:
Path(ELECTRON_CACHE_DIR).mkdir(parents=True, exist_ok=True)
self.logger.info("Downloading Electron {}".format(version))
electron_path = self._get_electron_file_path(url=url, relative=False)