From 1c5c48ac42249ff52f7e748e82e98eb1d2a7c0ea Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 1 Jul 2019 16:25:18 -0400 Subject: [PATCH] Update cc.py --- core/cc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cc.py b/core/cc.py index 7e6d8646..b2f59987 100644 --- a/core/cc.py +++ b/core/cc.py @@ -168,7 +168,7 @@ def match_license(license_string): pass lic = MATCH_CC_LICENSE.search(license_string) if lic: - return 'CC {}'.format(lic.group(0).upper()) + return 'CC{}'.format(lic.group(0).upper().strip()) return RIGHTS_ALIAS.get(license_string, None) MATCH_LICENSE = re.compile(r'creativecommons.org/licenses/([^/]+)/')