Commit c7b91811 authored by Skia's avatar Skia

core/models: change `thumbnails` and `compressed` SithFile directories

Signed-off-by: Skia's avatarSkia <skia@libskia.so>
parent 0d3c34c1
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment