mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-10 08:08:26 -05:00
Fix flake8 warning
This commit is contained in:
parent
b16cd18a86
commit
95b0f5449d
@ -20,6 +20,7 @@ ThumbnailRequirement = namedtuple(
|
|||||||
"ThumbnailRequirement", ["width", "height", "method", "media_type"]
|
"ThumbnailRequirement", ["width", "height", "method", "media_type"]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def parse_thumbnail_requirements(thumbnail_sizes):
|
def parse_thumbnail_requirements(thumbnail_sizes):
|
||||||
""" Takes a list of dictionaries with "width", "height", and "method" keys
|
""" Takes a list of dictionaries with "width", "height", and "method" keys
|
||||||
and creates a map from image media types to the thumbnail size, thumnailing
|
and creates a map from image media types to the thumbnail size, thumnailing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user