diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-08-13 17:34:22 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-08-13 17:34:22 +0100 |
commit | 95b0f5449d2b7539a7817b231090d607e55d6ac7 (patch) | |
tree | fe64ca34db6727c441cfd5330ac81d16a0831268 /synapse/config | |
parent | Merge remote-tracking branch 'origin/develop' into erikj/generate_presice_thu... (diff) | |
download | synapse-95b0f5449d2b7539a7817b231090d607e55d6ac7.tar.xz |
Fix flake8 warning
Diffstat (limited to '')
-rw-r--r-- | synapse/config/repository.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/repository.py b/synapse/config/repository.py index 2cb0812d7d..64644b9a7a 100644 --- a/synapse/config/repository.py +++ b/synapse/config/repository.py @@ -20,6 +20,7 @@ ThumbnailRequirement = namedtuple( "ThumbnailRequirement", ["width", "height", "method", "media_type"] ) + def parse_thumbnail_requirements(thumbnail_sizes): """ Takes a list of dictionaries with "width", "height", and "method" keys and creates a map from image media types to the thumbnail size, thumnailing |