From c7b918115d754b680b8b21269e23cdda397d9510 Mon Sep 17 00:00:00 2001 From: Skia Date: Thu, 5 Apr 2018 20:51:05 +0200 Subject: [PATCH] core/models: change `thumbnails` and `compressed` SithFile directories Signed-off-by: Skia --- core/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/models.py b/core/models.py index c826ab39..a7938d25 100644 --- a/core/models.py +++ b/core/models.py @@ -635,11 +635,11 @@ def get_directory(instance, filename): def get_compressed_directory(instance, filename): - return '.{0}/compressed/{1}'.format(instance.get_parent_path(), filename) + return './.compressed/{0}/{1}'.format(instance.get_parent_path(), filename) def get_thumbnail_directory(instance, filename): - return '.{0}/thumbnail/{1}'.format(instance.get_parent_path(), filename) + return './.thumbnails/{0}/{1}'.format(instance.get_parent_path(), filename) class SithFile(models.Model):