Refactor to split s3_client.py into multiple files

Separated s3_client.py into 3 files - for logos, CSV files and the MOU.
This helps to keep things clearer now that we need to add lots more logo
functions for letters.
This commit is contained in:
Katie Smith
2019-01-30 09:42:15 +00:00
parent 5e6d48e50f
commit f005d7a569
15 changed files with 202 additions and 185 deletions

View File

@@ -42,7 +42,11 @@ from app.main.forms import (
SetSenderForm,
get_placeholder_form_instance,
)
from app.main.s3_client import s3download, s3upload, set_metadata_on_csv_upload
from app.s3_client.s3_csv_client import (
s3download,
s3upload,
set_metadata_on_csv_upload,
)
from app.template_previews import TemplatePreview, get_page_count_for_letter
from app.utils import (
Spreadsheet,