@@ -191,7 +191,7 @@ def _build_ptx_book(config, gen, manifest, course, click=click, target="runeston
191191
192192 if rs .output_dir_abspath ().exists ():
193193 shutil .rmtree (rs .output_dir_abspath ())
194-
194+
195195 click .echo ("Building the book" )
196196 if gen :
197197 click .echo ("Generating assets" )
@@ -341,7 +341,7 @@ def check_project_ptx(click=click, course=None, target="runestone"):
341341 tgt .output_dir = Path (docid )
342342
343343 tgt .stringparams .update ({"host-platform" : "runestone" })
344-
344+
345345 return tgt
346346
347347
@@ -705,7 +705,10 @@ def _process_single_chapter(sess, db_context, chapter, chap_num, course_name):
705705 res = sess .execute (ins )
706706 return res .inserted_primary_key [0 ]
707707
708+
708709import pdb
710+
711+
709712def _process_subchapters (sess , db_context , chapter , chapid , course_name ):
710713 """Process all subchapters for a given chapter."""
711714 subchap = 0
@@ -721,8 +724,10 @@ def _process_subchapters(sess, db_context, chapter, chapid, course_name):
721724 # at this point (7/28/2025) the only reason for a subsubchapter
722725 # is to have a timed assignment, so we can skip the rest of the
723726 # find all divs with a class of timedAssessment
724- #pdb.set_trace()
725- for timed_assessment_div in subchapter .findall (".//div[@class='timedAssessment']" ):
727+ # pdb.set_trace()
728+ for timed_assessment_div in subchapter .findall (
729+ ".//div[@class='timedAssessment']"
730+ ):
726731 _process_single_timed_assignment (
727732 sess ,
728733 db_context ,
0 commit comments