X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6e3e08e5354baaf82f7d46cbd88883e4c7426dce..998a1e2aeaea0c5361e526365d1e94d7eaa9d4e8:/src/catalogue/constants.py?ds=inline diff --git a/src/catalogue/constants.py b/src/catalogue/constants.py index c16e3f7bb..1a655f428 100644 --- a/src/catalogue/constants.py +++ b/src/catalogue/constants.py @@ -17,6 +17,10 @@ LICENSES = { LICENSES['http://creativecommons.org/licenses/by-sa/3.0/deed.pl'] = \ LICENSES['http://creativecommons.org/licenses/by-sa/3.0/'] + +for license, data in list(LICENSES.items()): + LICENSES[license.replace('http://', 'https://')] = data + # Those will be generated only for books with own HTML. EBOOK_FORMATS_WITHOUT_CHILDREN = ['txt', 'fb2'] # Those will be generated for all books.