summary refs log tree commit diff
path: root/synapse/rest/media/v1/thumbnailer.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2020-09-14 11:46:58 -0400
committerPatrick Cloke <patrickc@matrix.org>2020-09-14 11:46:58 -0400
commitd2a3eb04a49d83485c53e677e4934f7f5491330e (patch)
tree68bb25bd7b1a3bbb3496f1570c60e28554a1dd30 /synapse/rest/media/v1/thumbnailer.py
parentAdd the topic and avatar to the room details admin API (#8305) (diff)
downloadsynapse-d2a3eb04a49d83485c53e677e4934f7f5491330e.tar.xz
Fix typos in comments.
Diffstat (limited to 'synapse/rest/media/v1/thumbnailer.py')
-rw-r--r--synapse/rest/media/v1/thumbnailer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/media/v1/thumbnailer.py b/synapse/rest/media/v1/thumbnailer.py
index 457ad6031c..32a8e4f960 100644
--- a/synapse/rest/media/v1/thumbnailer.py
+++ b/synapse/rest/media/v1/thumbnailer.py
@@ -83,7 +83,7 @@ class Thumbnailer:
 
         Args:
             max_width: The largest possible width.
-            max_height: The larget possible height.
+            max_height: The largest possible height.
         """
 
         if max_width * self.height < max_height * self.width:
@@ -117,7 +117,7 @@ class Thumbnailer:
 
         Args:
             max_width: The largest possible width.
-            max_height: The larget possible height.
+            max_height: The largest possible height.
 
         Returns:
             BytesIO: the bytes of the encoded image ready to be written to disk