1. Andriy Kornatskyy
  2. wheezy.captcha

Commits

Andriy Kornatskyy  committed f7c4b58

Fixed pep8 warnings.

  • Participants
  • Parent commits 78da865
  • Branches default

Comments (0)

Files changed (1)

File src/wheezy/captcha/image.py

View file
  • Ignore whitespace
         for char_image in char_images:
             c_width, c_height = char_image.size
             mask = char_image.convert('L').point(lambda i: i * 1.97)
-            image.paste(char_image, (
-                offset,
-                (height - c_height) / 2
-                ), mask)
+            image.paste(char_image,
+                        (offset, (height - c_height) / 2),
+                        mask)
             offset += int(c_width * squeeze_factor)
         return image
     return drawer