X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/292be7b4adfea60105ba78d74ace7425eb7a4284..3b6b5d7d78c28fb9ffdadcdadb727e4274feb6c2:/src/catalogue/utils.py diff --git a/src/catalogue/utils.py b/src/catalogue/utils.py index d05657978..ca8ec0dc2 100644 --- a/src/catalogue/utils.py +++ b/src/catalogue/utils.py @@ -303,7 +303,7 @@ def delete_from_cache_by_language(cache, key_template): def gallery_path(slug): - return os.path.join(settings.MEDIA_ROOT, settings.IMAGE_DIR, slug) + return os.path.join(settings.MEDIA_ROOT, settings.IMAGE_DIR, slug) + '/' def gallery_url(slug):