Skip to content
Snippets Groups Projects
Commit fe6e9f58 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Merge pull request #2550 from krombel/fix_thumbnail_2548

fix thumbnailing (#2548)
parents 7216c766 a6245478
No related branches found
No related tags found
No related merge requests found
......@@ -490,12 +490,12 @@ class MediaRepository(object):
if t_type == "crop":
t_byte_source = yield make_deferred_yieldable(threads.deferToThread(
thumbnailer.crop,
r_width, r_height, t_type,
t_width, t_height, t_type,
))
else:
t_byte_source = yield make_deferred_yieldable(threads.deferToThread(
thumbnailer.scale,
r_width, r_height, t_type,
t_width, t_height, t_type,
))
if not t_byte_source:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment