From be1e40121bc7ca48251bf20717430dee00bee6c6 Mon Sep 17 00:00:00 2001
From: Fredrik Jonsson <frjo@xdeb.org>
Date: Wed, 5 Sep 2018 11:12:56 +0200
Subject: [PATCH] Correcting AWS_MIGRATION_SECRET_ACCESS_KEY naming in
 migration_base.py, removing stray _ID.

---
 opentech/apply/funds/management/commands/migration_base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opentech/apply/funds/management/commands/migration_base.py b/opentech/apply/funds/management/commands/migration_base.py
index 77c2b73cc..d469324f5 100644
--- a/opentech/apply/funds/management/commands/migration_base.py
+++ b/opentech/apply/funds/management/commands/migration_base.py
@@ -27,7 +27,7 @@ class MigrationStorage(S3Boto3Storage):
     if hasattr(settings, 'AWS_MIGRATION_ACCESS_KEY_ID'):
         access_key = settings.AWS_MIGRATION_ACCESS_KEY_ID
 
-    if hasattr(settings, 'AWS_MIGRATION_SECRET_ACCESS_KEY_ID'):
+    if hasattr(settings, 'AWS_MIGRATION_SECRET_ACCESS_KEY'):
         secret_key = settings.AWS_MIGRATION_SECRET_ACCESS_KEY
 
     bucket_acl = 'private'
-- 
GitLab