fix pep-8 in export_all_courses