fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fa8ae23
)
accept https in dc:rights.license
author
Jan Szejko
<janek37@gmail.com>
Tue, 19 Jun 2018 09:47:01 +0000
(11:47 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Tue, 19 Jun 2018 09:47:01 +0000
(11:47 +0200)
src/catalogue/constants.py
patch
|
blob
|
history
diff --git
a/src/catalogue/constants.py
b/src/catalogue/constants.py
index
c16e3f7
..
60ceceb
100644
(file)
--- 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/']
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.
# Those will be generated only for books with own HTML.
EBOOK_FORMATS_WITHOUT_CHILDREN = ['txt', 'fb2']
# Those will be generated for all books.