add cc by-sa 4.0 def
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 3 Jul 2024 09:32:01 +0000 (11:32 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Wed, 3 Jul 2024 09:32:01 +0000 (11:32 +0200)
src/catalogue/constants.py

index becb817..aeb76eb 100644 (file)
@@ -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