We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27bc6de commit f146dc7Copy full SHA for f146dc7
ckeditor/views.py
@@ -44,7 +44,6 @@ def get_thumb_filename(filename):
44
return '%s_thumb%s' % (filename[:dot_index], filename[dot_index:])
45
46
def create_thumbnail(filename):
47
-
48
image = Image.open(filename)
49
50
# Convert to RGB if necessary
@@ -57,7 +56,6 @@ def create_thumbnail(filename):
57
56
imagefit = ImageOps.fit(image, THUMBNAIL_SIZE, Image.ANTIALIAS)
58
imagefit.save(get_thumb_filename(filename))
59
60
61
def get_media_url(path):
62
"""
63
Determine system file's media url.
0 commit comments