diff --git a/viewer/management/commands/makethumbnails.py b/viewer/management/commands/makethumbnails.py index 99edac2..d024847 100644 --- a/viewer/management/commands/makethumbnails.py +++ b/viewer/management/commands/makethumbnails.py @@ -12,12 +12,6 @@ from django.conf import settings # Project imports. from viewer.utils import make_thumbnail -########################################################################################### -# Constants. # -########################################################################################### - -THUMB_SIZE = (128, 128) - ########################################################################################### # Command subclass. # ########################################################################################### diff --git a/viewer/utils.py b/viewer/utils.py index c33a266..e09faf8 100644 --- a/viewer/utils.py +++ b/viewer/utils.py @@ -7,6 +7,12 @@ from PIL import Image # Django imports. from django.conf import settings +########################################################################################### +# Constants. # +########################################################################################### + +THUMB_SIZE = (128, 128) + ########################################################################################### # Helper functions. # ###########################################################################################