From dc95b1dff45fd576f0a21d461efe23bc16c3378b Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 3 Jul 2024 11:32:01 +0200 Subject: [PATCH 1/1] add cc by-sa 4.0 def --- src/catalogue/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1