Skip to content
Snippets Groups Projects
Commit 95b0f544 authored by Mark Haines's avatar Mark Haines
Browse files

Fix flake8 warning

parent b16cd18a
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ ThumbnailRequirement = namedtuple( ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment