Fix bad regex escape
This commit is contained in:
@@ -66,7 +66,7 @@ class TISS:
|
||||
|
||||
|
||||
table = soup.select('th[aria-label="Studienkennzahl"]')[0].parent.parent.parent
|
||||
curricula = [re.sub("\D", "", tr.find("td").text) for tr in table.find("tbody").find_all("tr")]
|
||||
curricula = [re.sub(r'\D', "", tr.find("td").text) for tr in table.find("tbody").find_all("tr")]
|
||||
|
||||
lva = LVA(code, course_name, ects, curricula, type)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user