From ea9341642f7d299fa2c6f43aeadeeeb751a5f3b6 Mon Sep 17 00:00:00 2001 From: Miguel Astor Date: Sun, 30 Jul 2023 19:07:32 -0400 Subject: [PATCH] Good God I'm an idiot! --- viewer/management/commands/makethumbnails.py | 6 ------ viewer/utils.py | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) 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. # ###########################################################################################