From: Radek Czajka Date: Wed, 3 Jul 2024 09:32:01 +0000 (+0200) Subject: add cc by-sa 4.0 def X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/dc95b1dff45fd576f0a21d461efe23bc16c3378b?ds=sidebyside;hp=f0f0f13c94ff22d0f8a105c604252c6d678a9bab add cc by-sa 4.0 def --- diff --git a/src/catalogue/constants.py b/src/catalogue/constants.py index becb81731..aeb76eb68 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/'] - +LICENSES['http://creativecommons.org/licenses/by-sa/4.0/deed.pl'] = \ + LICENSES['http://creativecommons.org/licenses/by-sa/3.0/'] for license, data in list(LICENSES.items()): LICENSES[license.replace('http://', 'https://')] = data