From 8f98558ed27ce2da17ff43419f5ee9d9258bd388 Mon Sep 17 00:00:00 2001 From: Goutte Date: Fri, 10 Nov 2017 08:16:17 +0100 Subject: [PATCH] Set the `SPACEPY` environment var before importing spacepy. Not 100% sure we need that. --- web/run.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/web/run.py b/web/run.py index 6f86aaa..5dccd4d 100755 --- a/web/run.py +++ b/web/run.py @@ -991,6 +991,7 @@ def download_targets_cdf(targets, started_at, stopped_at): if not isfile(cdf_path): log.debug("Creating the CDF file '%s'..." % cdf_filename) + environ['SPACEPY'] = CACHE_DIR environ['CDF_LIB'] = CDF_LIB from spacepy import pycdf try: -- libgit2 0.21.2