aboutsummaryrefslogtreecommitdiffstats
path: root/chocula/directories/doaj.py
diff options
context:
space:
mode:
Diffstat (limited to 'chocula/directories/doaj.py')
-rw-r--r--chocula/directories/doaj.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/chocula/directories/doaj.py b/chocula/directories/doaj.py
index a62a974..e9c94c9 100644
--- a/chocula/directories/doaj.py
+++ b/chocula/directories/doaj.py
@@ -117,7 +117,9 @@ class DoajLoader(DirectoryLoader):
info.extra["crawl_permission"] = dict(Yes=True, No=False)[crawl_permission]
default_license = row["Journal license"]
if default_license and default_license.startswith("CC"):
- info.extra["default_license"] = default_license.replace("CC ", "CC-").strip()
+ info.extra["default_license"] = default_license.replace(
+ "CC ", "CC-"
+ ).strip()
url = row["Journal URL"]
if url: