fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PayU payments working.
[wolnelektury.git]
/
src
/
catalogue
/
constants.py
diff --git
a/src/catalogue/constants.py
b/src/catalogue/constants.py
index
60ceceb
..
1a655f4
100644
(file)
--- a/
src/catalogue/constants.py
+++ b/
src/catalogue/constants.py
@@
-17,7
+17,8
@@
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():
+
+for license, data in list(LICENSES.items()):
LICENSES[license.replace('http://', 'https://')] = data
# Those will be generated only for books with own HTML.
LICENSES[license.replace('http://', 'https://')] = data
# Those will be generated only for books with own HTML.