fix CKalender event parsing
This commit is contained in:
@@ -160,7 +160,10 @@ for i in range(len(tablerows)):
|
||||
pdf.cell(20, 4, pdf_safe(date_for_table[2] + "." + date_for_table[1] + "." + date_for_table[0]), 0, 0, "C", fill=True)
|
||||
|
||||
event_full_block = table_cells[j].find_all("div", class_="calEventBox")
|
||||
events = table_cells[j].find_all(style="margin-right:.2em")
|
||||
events = table_cells[j].find_all(
|
||||
style=lambda style: style
|
||||
and "margin-right:.2em" in style.replace(" ", "")
|
||||
)
|
||||
|
||||
pdf.cell(15, 4, pdf_safe(weekdays_list[weekday]), 0, 0, "C", fill=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user