You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I recently pushed all my static assets to s3 and set up cloudfront CDN successfully. Afterwards I realized that I forgot to set a Cache-Control header. I also added some additional assets. I'm receiving the following traceback error when running create_all() function:
Traceback (most recent call last):
File "app/upload_assets.py", line 6, in<module>
flask_s3.create_all(app)
File "C:\projects\adminout\venv\lib\site-packages\flask_s3.py", line 453, in create_all
_upload_files(s3, app, all_files, bucket_name)
File "C:\projects\adminout\venv\lib\site-packages\flask_s3.py", line 318, in _upload_files
names, bucket, hashes=hashes))
File "C:\projects\adminout\venv\lib\site-packages\flask_s3.py", line 289, in _write_files
merged_dicts = merge_two_dicts(get_setting('FLASKS3_HEADERS', app), h)
File "C:\projects\adminout\venv\lib\site-packages\flask_s3.py", line 82, in merge_two_dicts
z = x.copy()
AttributeError: 'tuple' object has no attribute 'copy'
Hi
I recently pushed all my static assets to s3 and set up cloudfront CDN successfully. Afterwards I realized that I forgot to set a Cache-Control header. I also added some additional assets. I'm receiving the following traceback error when running create_all() function:
My relevant app config:
I am running the following python script to update my assets:
My environment: Windows 10, Python 3.6.1 virtualenv.
Is this an issue or have I done something stupid? Please help!
The text was updated successfully, but these errors were encountered: