Prefer static_format
over format
with static assets
#17
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "2.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
In short: something like
Asset.replace(format='gif',static_format='png')
would break if it encountered a static asset, as static avatars cannot be stored in a GIF format and d.py preferred to use theformat
format vs. thestatic_format
format, even with static assets. According to Danny, this was an intentional feature, but I personally do not see how keeping the old behavior would be beneficial to anyone at all.Link to old issue: #7345
Checklist
Sounds good to me!
Looks good.