X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/292be7b4adfea60105ba78d74ace7425eb7a4284..30eacc6639d39fe70746c6316045ccc19e479d7c:/src/catalogue/utils.py?ds=sidebyside 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):