X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7b2b19383cd52f1df1e7d1bb8a29d6e099ce7a5b..0b83514c0335addda3b76710aec04df93f85479d:/src/catalogue/constants.py?ds=sidebyside diff --git a/src/catalogue/constants.py b/src/catalogue/constants.py index 60cecebe5..1a655f428 100644 --- 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/'] -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.