Commit 8f98558ed27ce2da17ff43419f5ee9d9258bd388
1 parent
181a3131
Exists in
master
and in
2 other branches
Set the `SPACEPY` environment var before importing spacepy. Not 100% sure we need that.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
web/run.py
... | ... | @@ -991,6 +991,7 @@ def download_targets_cdf(targets, started_at, stopped_at): |
991 | 991 | |
992 | 992 | if not isfile(cdf_path): |
993 | 993 | log.debug("Creating the CDF file '%s'..." % cdf_filename) |
994 | + environ['SPACEPY'] = CACHE_DIR | |
994 | 995 | environ['CDF_LIB'] = CDF_LIB |
995 | 996 | from spacepy import pycdf |
996 | 997 | try: | ... | ... |