Skip to content

Commit 6e00036

Browse files
committed
cs_backgrounds.py: Fix imtools import.
ref: 9397ff3
1 parent 73f873d commit 6e00036

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

files/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,8 @@ def get_pix(self, filename, size=None):
631631
if size:
632632
img.thumbnail((size, size), Image.LANCZOS)
633633

634-
import imtools
634+
635+
from bin import imtools
635636
img = imtools.round_image(img, {}, False, None, 3, 255)
636637
img = imtools.drop_shadow(img, 4, 4, background_color=(255, 255, 255, 0),
637638
shadow_color=0x444444, border=8, shadow_blur=3,

0 commit comments

Comments
 (0)