study-effort/src/mystudy/lecture.py
@@ -1,6 +1,7 @@ from typing import Final from mystudy.DataFormatError import DataFormatError from mystudy.LecruresConverter import LecturesConvert lecture_time: Final[int] = 15 ects_effort: Final[int] = 30 @@ -56,7 +57,7 @@ pass class Lecture2HTMLConverter: class Lecture2HTMLConverter(LecturesConvert): def __init__(self): self.__head = """<!DOCTYPE html> <html lang="en"> @@ -70,7 +71,7 @@ </html> """ def to_html(self, lectures: list[Lecture]) -> str: def convert(self, lectures: list[Lecture]) -> str: html = "" for l in lectures: html += f"""<tr>