Skip to content

Commit c256949

Browse files
authored
Merge pull request #63 from CyberCRI/Fix/unccelearn
corpus_id for unccelearn
2 parents 56dcb10 + 7380b62 commit c256949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

welearn_datastack/collectors/unccelearn_collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ def collect(self) -> List[WeLearnDocument]:
4545
continue
4646
course_url = url_template.replace("<ID_TO_REPLACE>", course_id)
4747

48-
ret.append(WeLearnDocument(url=course_url))
48+
ret.append(WeLearnDocument(url=course_url, corpus=self.corpus))
4949

5050
return ret

0 commit comments

Comments
 (0)