8000 fix: correct storage_options default factory to use copy by leodiegues · Pull Request #71 · FolhaSP/mosaico · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: correct storage_options default factory to use copy #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

leodiegues
Copy link
Collaborator
@leodiegues leodiegues commented Feb 27, 2025

This pull request includes a small change to the Media class in the src/mosaico/media.py file. The change modifies the storage_options field to use a copy of the default storage options instead of directly referencing the settings.

  • src/mosaico/media.py: Changed the storage_options field to use settings.storage_options.copy as the default factory to ensure a copy of the storage options is used.

@leodiegues leodiegues added the bug Something isn't working label Feb 27, 2025
@leodiegues leodiegues self-assigned this Feb 27, 2025
@leodiegues leodiegues merged commit c070b4d into main Feb 27, 2025
10 checks passed
@leodiegues leodiegues deleted the hotfix/media-storage-options-factory branch February 27, 2025 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0