summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-03-30 09:56:05 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-03-30 09:56:05 +0700
commit048552cb18c95c990224d0c53ceb9edeca050248 (patch)
tree2ee96c01f6dc1e2f8492fdede059fe674d2705da /indoteknik_api/controllers
parente220b2dd224b59adbf5dbd1058950072e84ccc70 (diff)
parentaad5e88a2cf02443377fb15eab509e3532509b32 (diff)
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_api/controllers')
-rw-r--r--indoteknik_api/controllers/controller.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/indoteknik_api/controllers/controller.py b/indoteknik_api/controllers/controller.py
index c4f323fe..c6458628 100644
--- a/indoteknik_api/controllers/controller.py
+++ b/indoteknik_api/controllers/controller.py
@@ -215,7 +215,7 @@ class Controller(http.Controller):
LOGO_FILENAME = {
'1': 'logo-indoteknik-gray.png',
- '2': 'logo-indoteknik.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