X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/053d581a43e6a5b4125185eebe3a4cd2aa556bdd..6e0b282242bf227d1dba35b2748b7cadb48741db:/apps/catalogue/models.py diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index 556a8a1b8..722539ade 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -227,7 +227,7 @@ def get_customized_pdf_path(book, customizations): """ h = customizations_hash(customizations) pdf_name = '%s-custom-%s' % (book.slug, h) - pdf_file = get_dynamic_path(None, pdf_name, ext='pdf') + pdf_file = pdf_name + '.pdf' return pdf_file