HHousen / lecture2notes

Consider using f-strings PYL-C0209
Performance
Minor
9 months ago9 months old
Formatting a regular string which could be a f-string
1012
1013        title = " ".join([slide["text"][line] for line in title_lines]).strip()
1014        if not title:
1015            title = "Slide {}".format(idx + 1)1016        else:
1017            if title in all_titles:
1018                all_titles[title] += 1