From 8fdfe170fc7e66a0553534df6f082ff1c9cd0364 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Mon, 19 Oct 2020 22:04:47 -0700 Subject: [PATCH] Ensure tarball directory is created before trying to download to it --- scripts/pymultic | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/pymultic b/scripts/pymultic index 32e8e96..36d0a37 100755 --- a/scripts/pymultic +++ b/scripts/pymultic @@ -60,6 +60,8 @@ def fetch_python(snekdir, version): return tb_dir = os.path.join(snekdir, 'tarballs') + if not os.path.exists(tb_dir): + os.makedirs(tb_dir) tarfile = os.path.join(tb_dir, tarball) if not os.path.exists(tarfile): if version == '1.6':