X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/73b6a1639ba8f9f5fc7615c136364fdba73e5bb2..2983d583c9de4c33ed73d6c06d9d6eb54b30f15e:/src/catalogue/constants.py diff --git a/src/catalogue/constants.py b/src/catalogue/constants.py index c16e3f7bb..60cecebe5 100644 --- a/src/catalogue/constants.py +++ b/src/catalogue/constants.py @@ -17,6 +17,9 @@ 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 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.