File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ def create_admin_user():
295295
296296def add_dataset_license (v1_license , headers ):
297297 """Create appropriate license (standard/custom) based on v1 license details"""
298- license_id = "CC- BY"
298+ license_id = "CC BY"
299299 # standard licenses
300300 if v1_license ["license_type" ] == "license2" :
301301 if (
@@ -362,7 +362,7 @@ def create_v2_dataset(dataset, headers):
362362 v2_license_id = add_dataset_license (dataset ["license" ], headers )
363363 except Exception as e :
364364 print (f"Error creating dataset license: { e } " )
365- v2_license_id = "CC- BY"
365+ v2_license_id = "CC BY"
366366
367367 dataset_in_v2_endpoint = f"{ CLOWDER_V2 } /api/v2/datasets?license_id={ v2_license_id } "
368368 dataset_example = {
You can’t perform that action at this time.
0 commit comments