diff options
author | Erik Johnston <erik@matrix.org> | 2017-10-13 13:58:57 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-10-13 13:58:57 +0100 |
commit | b92a8e6e4aa2283daaa4e6050f1dbd503ddc9434 (patch) | |
tree | d39df37521fdf0663409577b10bd33db4ed1d53e | |
parent | Move type into key (diff) | |
download | synapse-b92a8e6e4aa2283daaa4e6050f1dbd503ddc9434.tar.xz |
PEP8
-rw-r--r-- | synapse/rest/media/v1/media_repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py index dee834389f..d2ac0175d7 100644 --- a/synapse/rest/media/v1/media_repository.py +++ b/synapse/rest/media/v1/media_repository.py @@ -468,7 +468,7 @@ class MediaRepository(object): thumbnails = {} for r_width, r_height, r_method, r_type in requirements: if r_method == "crop": - thumbnails.setdefault((r_width, r_height,r_type), r_method) + thumbnails.setdefault((r_width, r_height, r_type), r_method) elif r_method == "scale": t_width, t_height = thumbnailer.aspect(r_width, r_height) t_width = min(m_width, t_width) |