From f2d165cc81370ef0ea1e1c117be253203abbfccb Mon Sep 17 00:00:00 2001
From: Parbhat Puri <parbhatpuri17@gmail.com>
Date: Tue, 3 Dec 2019 12:19:17 +0000
Subject: [PATCH] fix typo

---
 opentech/apply/activity/messaging.py | 2 +-
 opentech/settings/base.py            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opentech/apply/activity/messaging.py b/opentech/apply/activity/messaging.py
index 778e8d0e5..57a31e798 100644
--- a/opentech/apply/activity/messaging.py
+++ b/opentech/apply/activity/messaging.py
@@ -778,7 +778,7 @@ class EmailAdapter(AdapterBase):
         except AttributeError:  # we're dealing with a project
             from_email = source.submission.page.specific.from_address
         except Exception as e:
-            from_address = None
+            from_email = None
             logger.exception(e)
 
         try:
diff --git a/opentech/settings/base.py b/opentech/settings/base.py
index 0aebe1efc..7a2036095 100644
--- a/opentech/settings/base.py
+++ b/opentech/settings/base.py
@@ -325,7 +325,7 @@ SHORT_DATETIME_FORMAT = 'Y-m-d\TH:i:s'
 # Static files (CSS, JavaScript, Images)
 # https://docs.djangoproject.com/en/stable/howto/static-files/
 
-STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
+STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
 
 STATICFILES_DIRS = [
     os.path.join(PROJECT_DIR, 'static_compiled'),
-- 
GitLab