Skip to content
Snippets Groups Projects
Commit a6245478 authored by Krombel's avatar Krombel
Browse files

fix thumbnailing (#2548)


in commit 0e28281a the code for thumbnailing got refactored and the
renaming of this variables was not done correctly.

Signed-Off-by: default avatarMatthias Kesler <krombel@krombel.de>
parent e0a75e0c
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