Skip to content

Commit 50510fa

Browse files
committed
fix isort
1 parent b665fcb commit 50510fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

filer/management/commands/filer_check.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
from django.core.management.base import BaseCommand
44
from django.utils.module_loading import import_string
55

6+
from PIL import UnidentifiedImageError
7+
68
from filer import settings as filer_settings
79
from filer.models.filemodels import File
810
from filer.utils.loader import load_model
911

10-
from PIL import UnidentifiedImageError
11-
1212

1313
class Command(BaseCommand):
1414
help = "Check for orphaned files, missing file references, and set image dimensions."
@@ -152,8 +152,10 @@ def image_dimensions(self, options):
152152
and save them, handling SVG files and possible image errors.
153153
"""
154154
from django.db.models import Q
155+
155156
import easy_thumbnails
156157
from easy_thumbnails.VIL import Image as VILImage
158+
157159
from filer.utils.compatibility import PILImage
158160

159161
ImageModel = load_model(filer_settings.FILER_IMAGE_MODEL)

0 commit comments

Comments
 (0)