Under Check materials in pdfpublisher.py:
materials_for_all = load_full_directory(f"{config['settings']['lecture_slides_dir']}/{n:02}")
materials_forcourse = load_full_directory(f"{courseObject.course_slides_dir}/{n:02}")
materials_published = load_full_directory(matpubdir)
Loads materials_for_all based on lecture number, instead of using folders for individual topics. This works for now, but will fail once topics start being moved around.