diff options
Diffstat (limited to 'indoteknik_api/controllers/controller.py')
| -rw-r--r-- | indoteknik_api/controllers/controller.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/indoteknik_api/controllers/controller.py b/indoteknik_api/controllers/controller.py index 32f591a1..c6458628 100644 --- a/indoteknik_api/controllers/controller.py +++ b/indoteknik_api/controllers/controller.py @@ -214,8 +214,8 @@ class Controller(http.Controller): if not image: return '' LOGO_FILENAME = { - '1': 'logo-indoteknik-link.png', - '2': 'logo-indoteknik.png' + '1': 'logo-indoteknik-gray.png', + '2': 'logo-indoteknik-link.png' } logo_path = get_module_resource('indoteknik_api', 'static', 'src', 'images', LOGO_FILENAME.get(version)) @@ -242,12 +242,6 @@ class Controller(http.Controller): new_img.paste(img, (paste_x, paste_y), img) if version == '2': - logo__footer_path = get_module_resource('indoteknik_api', 'static', 'src', 'images', 'logo-indoteknik-footer.png') - logo_footer_img = Image.open(logo__footer_path).convert('RGBA') - logo_footer_img.thumbnail((img_width, img_height // 1)) - logo_footer_w, logo_footer_h = logo_footer_img.size - new_img.paste(logo_footer_img, (0, img_height - logo_footer_h), logo_footer_img) - logo_img_w = img_width // 1.8 logo_img_h = img_height // 1.8 |
