mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Adding "Attribution-NonCommercial-NoDerivatives 4.0 International" (#6008)
* Adding "Attribution-NonCommercial-NoDerivatives 4.0 International" Adding the "Attribution-NonCommercial-NoDerivatives 4.0 International" License type, this is getting marked as an "invalid" license when its actually a valid license. [License link](https://creativecommons.org/licenses/by-nc-nd/4.0/) * Darn, forgot a comma
This commit is contained in:
@@ -14,6 +14,7 @@ class License(Validator):
|
||||
"CC-BY-NC-SA-4.0",
|
||||
"CC-BY-ND-3.0",
|
||||
"CC-BY-ND-4.0",
|
||||
"CC-BY-NC-ND-4.0",
|
||||
"CC0-1.0",
|
||||
"MIT",
|
||||
"Custom" # implies that the license is described in the copyright field.
|
||||
@@ -27,4 +28,4 @@ class Url(Validator):
|
||||
|
||||
def _is_valid(self, value):
|
||||
# Source field is required to ensure its not neglected, but there may be no applicable URL
|
||||
return (value == "NA") or validators.url(value)
|
||||
return (value == "NA") or validators.url(value)
|
||||
|
||||
Reference in New Issue
Block a user