From 7b2b19383cd52f1df1e7d1bb8a29d6e099ce7a5b Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 19 Jun 2018 11:47:01 +0200 Subject: [PATCH 1/1] accept https in dc:rights.license --- src/catalogue/constants.py | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.20.1