From eb8ec5b01db3399baf21d15ca809464aaeb2b46e Mon Sep 17 00:00:00 2001
From: Branson Stephens <stephenb@uwm.edu>
Date: Wed, 5 Feb 2014 09:22:02 -0600
Subject: [PATCH] Added MPLCONFIGDIR location to django.wsgi. Otherwise, the
 gstlalcbc_reports page will break. This has something to do with matplotlib.

---
 django.wsgi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/django.wsgi b/django.wsgi
index 164ebb1f4..31d11ce1d 100644
--- a/django.wsgi
+++ b/django.wsgi
@@ -13,6 +13,8 @@ sys.path.append('/home/gracedb/graceproj')
 import logging
 logging.basicConfig()
 
+os.environ['MPLCONFIGDIR']='/tmp/'
+
 #logging.basicConfig(level=logging.DEBUG,
 #                    format='%(asctime)s %(levelname)s %(message)s',
 #                    filename='/tmp/myapp.log',
-- 
GitLab