1. George Notaras
  2. django-thumbnail-works

Source

django-thumbnail-works / src / thumbnail_works / utils.py

Diff from to

File src/thumbnail_works/utils.py

  • Ignore whitespace
 from thumbnail_works.exceptions import ImageSizeError
 
 
-def get_width_height_from_string(self, size):
+def get_width_height_from_string(size):
     try:
         bits = size.split('x', 1)
     except AttributeError: