@@ -56,9 +56,9 @@ def render_template(template, dataset):
5656 kwargs = data [dataset ]
5757 kwargs ["dataset" ] = dataset
5858
59- # Check for LICENSE .txt file
59+ # Check for license .txt file
6060 dataset_folder = os .path .join (DATASETS , dataset )
61- license_file = os .path .join (dataset_folder , "LICENSE .txt" )
61+ license_file = os .path .join (dataset_folder , "license .txt" )
6262 if os .path .exists (license_file ):
6363 kwargs ["license" ] = True
6464 else :
@@ -120,7 +120,7 @@ def license_dataset(dataset):
120120 if dataset not in data :
121121 return flask .abort (404 )
122122 dataset_folder = os .path .join (DATASETS , dataset )
123- license_file = os .path .join (dataset_folder , "LICENSE .txt" )
123+ license_file = os .path .join (dataset_folder , "license .txt" )
124124 if not os .path .exists (license_file ):
125125 return flask .Response ("No license specified" , mimetype = 'text/plain' )
126126 with open (license_file , "r" ) as fp :
@@ -135,7 +135,7 @@ def download_form(dataset):
135135 if dataset not in data :
136136 return flask .redirect ('/' )
137137 dataset_folder = os .path .join (DATASETS , dataset )
138- license_file = os .path .join (dataset_folder , "LICENSE .txt" )
138+ license_file = os .path .join (dataset_folder , "license .txt" )
139139 if not os .path .exists (license_file ):
140140 rendered_license = "No license specified"
141141 else :
0 commit comments